Struct windows::Devices::Gpio::Provider::IGpioPinProvider_Vtbl
#[repr(C)]pub struct IGpioPinProvider_Vtbl {
pub base__: IInspectable_Vtbl,
pub ValueChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveValueChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> 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 ProviderGpioSharingMode) -> HRESULT,
pub IsDriveModeSupported: unsafe extern "system" fn(_: *mut c_void, _: ProviderGpioPinDriveMode, _: *mut bool) -> HRESULT,
pub GetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: *mut ProviderGpioPinDriveMode) -> HRESULT,
pub SetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: ProviderGpioPinDriveMode) -> HRESULT,
pub Write: unsafe extern "system" fn(_: *mut c_void, _: ProviderGpioPinValue) -> HRESULT,
pub Read: unsafe extern "system" fn(_: *mut c_void, _: *mut ProviderGpioPinValue) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§ValueChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveValueChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> 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 ProviderGpioSharingMode) -> HRESULT
§IsDriveModeSupported: unsafe extern "system" fn(_: *mut c_void, _: ProviderGpioPinDriveMode, _: *mut bool) -> HRESULT
§GetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: *mut ProviderGpioPinDriveMode) -> HRESULT
§SetDriveMode: unsafe extern "system" fn(_: *mut c_void, _: ProviderGpioPinDriveMode) -> HRESULT
§Write: unsafe extern "system" fn(_: *mut c_void, _: ProviderGpioPinValue) -> HRESULT
§Read: unsafe extern "system" fn(_: *mut c_void, _: *mut ProviderGpioPinValue) -> HRESULT
Implementations§
§impl IGpioPinProvider_Vtbl
impl IGpioPinProvider_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IGpioPinProvider_Vtblwhere
Identity: IGpioPinProvider_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IGpioPinProvider_Vtbl
impl RefUnwindSafe for IGpioPinProvider_Vtbl
impl Send for IGpioPinProvider_Vtbl
impl Sync for IGpioPinProvider_Vtbl
impl Unpin for IGpioPinProvider_Vtbl
impl UnwindSafe for IGpioPinProvider_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