Struct windows::Devices::Sensors::IProximitySensor_Vtbl
#[repr(C)]pub struct IProximitySensor_Vtbl {
pub base__: IInspectable_Vtbl,
pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub MaxDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub MinDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetCurrentReading: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub ReadingChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveReadingChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub CreateDisplayOnOffController: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§MaxDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§MinDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetCurrentReading: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§ReadingChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveReadingChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§CreateDisplayOnOffController: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
Auto Trait Implementations§
impl Freeze for IProximitySensor_Vtbl
impl RefUnwindSafe for IProximitySensor_Vtbl
impl Send for IProximitySensor_Vtbl
impl Sync for IProximitySensor_Vtbl
impl Unpin for IProximitySensor_Vtbl
impl UnwindSafe for IProximitySensor_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