Struct windows::Devices::Spi::Provider::ISpiDeviceProvider_Vtbl
#[repr(C)]pub struct ISpiDeviceProvider_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
Implementations§
§impl ISpiDeviceProvider_Vtbl
impl ISpiDeviceProvider_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ISpiDeviceProvider_Vtblwhere
Identity: ISpiDeviceProvider_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISpiDeviceProvider_Vtbl
impl RefUnwindSafe for ISpiDeviceProvider_Vtbl
impl Send for ISpiDeviceProvider_Vtbl
impl Sync for ISpiDeviceProvider_Vtbl
impl Unpin for ISpiDeviceProvider_Vtbl
impl UnwindSafe for ISpiDeviceProvider_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