Struct windows::Devices::Spi::ISpiDevice_Vtbl
#[repr(C)]pub struct ISpiDevice_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 Read: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8) -> HRESULT,
pub TransferSequential: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8) -> HRESULT,
pub TransferFullDuplex: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8) -> 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
§Read: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8) -> HRESULT
§TransferSequential: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8) -> HRESULT
§TransferFullDuplex: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8, _: u32, _: *mut u8) -> HRESULT
Auto Trait Implementations§
impl Freeze for ISpiDevice_Vtbl
impl RefUnwindSafe for ISpiDevice_Vtbl
impl Send for ISpiDevice_Vtbl
impl Sync for ISpiDevice_Vtbl
impl Unpin for ISpiDevice_Vtbl
impl UnwindSafe for ISpiDevice_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