Struct IGpioPin_Vtbl
#[repr(C)]pub struct IGpioPin_Vtbl {
pub base__: IInspectable_Vtbl,
pub ValueChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i64) -> HRESULT,
pub RemoveValueChanged: unsafe extern "system" fn(_: *mut c_void, _: i64) -> HRESULT,
pub DebounceTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT,
pub SetDebounceTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT,
pub PinNumber: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub SharingMode: unsafe extern "system" fn(_: *mut c_void, _: *mut GpioSharingMode) -> HRESULT,
pub IsDriveModeSupported: unsafe extern "system" fn(_: *mut c_void, _: GpioPinDriveMode, _: *mut bool) -> HRESULT,
pub GetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: *mut GpioPinDriveMode) -> HRESULT,
pub SetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: GpioPinDriveMode) -> HRESULT,
pub Write: unsafe extern "system" fn(_: *mut c_void, _: GpioPinValue) -> HRESULT,
pub Read: unsafe extern "system" fn(_: *mut c_void, _: *mut GpioPinValue) -> HRESULT,
}Fields§
§base__: IInspectable_Vtbl§ValueChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i64) -> HRESULT§RemoveValueChanged: unsafe extern "system" fn(_: *mut c_void, _: i64) -> HRESULT§DebounceTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT§SetDebounceTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT§PinNumber: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SharingMode: unsafe extern "system" fn(_: *mut c_void, _: *mut GpioSharingMode) -> HRESULT§IsDriveModeSupported: unsafe extern "system" fn(_: *mut c_void, _: GpioPinDriveMode, _: *mut bool) -> HRESULT§GetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: *mut GpioPinDriveMode) -> HRESULT§SetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: GpioPinDriveMode) -> HRESULT§Write: unsafe extern "system" fn(_: *mut c_void, _: GpioPinValue) -> HRESULT§Read: unsafe extern "system" fn(_: *mut c_void, _: *mut GpioPinValue) -> HRESULTAuto Trait Implementations§
impl Freeze for IGpioPin_Vtbl
impl RefUnwindSafe for IGpioPin_Vtbl
impl Send for IGpioPin_Vtbl
impl Sync for IGpioPin_Vtbl
impl Unpin for IGpioPin_Vtbl
impl UnwindSafe for IGpioPin_Vtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more