Struct windows::Devices::I2c::Provider::II2cDeviceProvider_Vtbl
#[repr(C)]pub struct II2cDeviceProvider_Vtbl {
pub base__: IInspectable_Vtbl,
pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub Write: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8) -> HRESULT,
pub WritePartial: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: *mut ProviderI2cTransferResult) -> HRESULT,
pub Read: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8) -> HRESULT,
pub ReadPartial: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8, _: *mut ProviderI2cTransferResult) -> HRESULT,
pub WriteRead: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8) -> HRESULT,
pub WriteReadPartial: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8, _: *mut ProviderI2cTransferResult) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§Write: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8) -> HRESULT
§WritePartial: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: *mut ProviderI2cTransferResult) -> HRESULT
§Read: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8) -> HRESULT
§ReadPartial: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8, _: *mut ProviderI2cTransferResult) -> HRESULT
§WriteRead: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8) -> HRESULT
§WriteReadPartial: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8, _: *mut ProviderI2cTransferResult) -> HRESULT
Implementations§
§impl II2cDeviceProvider_Vtbl
impl II2cDeviceProvider_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> II2cDeviceProvider_Vtblwhere
Identity: II2cDeviceProvider_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for II2cDeviceProvider_Vtbl
impl RefUnwindSafe for II2cDeviceProvider_Vtbl
impl Send for II2cDeviceProvider_Vtbl
impl Sync for II2cDeviceProvider_Vtbl
impl Unpin for II2cDeviceProvider_Vtbl
impl UnwindSafe for II2cDeviceProvider_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