Struct windows::Win32::Devices::Sensors::ISensorEvents_Vtbl
#[repr(C)]pub struct ISensorEvents_Vtbl {
pub base__: IUnknown_Vtbl,
pub OnStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: SensorState) -> HRESULT,
pub OnDataUpdated: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT,
pub OnEvent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const GUID, _: *mut c_void) -> HRESULT,
pub OnLeave: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§OnStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: SensorState) -> HRESULT
§OnDataUpdated: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT
§OnEvent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const GUID, _: *mut c_void) -> HRESULT
§OnLeave: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT
Implementations§
§impl ISensorEvents_Vtbl
impl ISensorEvents_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ISensorEvents_Vtblwhere
Identity: ISensorEvents_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISensorEvents_Vtbl
impl RefUnwindSafe for ISensorEvents_Vtbl
impl Send for ISensorEvents_Vtbl
impl Sync for ISensorEvents_Vtbl
impl Unpin for ISensorEvents_Vtbl
impl UnwindSafe for ISensorEvents_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