Struct windows::Devices::I2c::II2cDevice_Vtbl
#[repr(C)]pub struct II2cDevice_Vtbl {
pub base__: IInspectable_Vtbl,
pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub ConnectionSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> 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 I2cTransferResult) -> 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 I2cTransferResult) -> 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 I2cTransferResult) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§ConnectionSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> 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 I2cTransferResult) -> 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 I2cTransferResult) -> 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 I2cTransferResult) -> HRESULT
Auto Trait Implementations§
impl Freeze for II2cDevice_Vtbl
impl RefUnwindSafe for II2cDevice_Vtbl
impl Send for II2cDevice_Vtbl
impl Sync for II2cDevice_Vtbl
impl Unpin for II2cDevice_Vtbl
impl UnwindSafe for II2cDevice_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