Struct windows::Devices::Sensors::IHumanPresenceSettings_Vtbl
#[repr(C)]pub struct IHumanPresenceSettings_Vtbl {Show 15 fields
pub base__: IInspectable_Vtbl,
pub SensorId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub SetSensorId: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT,
pub IsWakeOnApproachEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub SetIsWakeOnApproachEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT,
pub WakeOnApproachDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetWakeOnApproachDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub IsLockOnLeaveEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub SetIsLockOnLeaveEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT,
pub LockOnLeaveDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetLockOnLeaveDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub LockOnLeaveTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT,
pub SetLockOnLeaveTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT,
pub IsAttentionAwareDimmingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub SetIsAttentionAwareDimmingEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§SensorId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§SetSensorId: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT
§IsWakeOnApproachEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§SetIsWakeOnApproachEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT
§WakeOnApproachDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetWakeOnApproachDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§IsLockOnLeaveEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§SetIsLockOnLeaveEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT
§LockOnLeaveDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetLockOnLeaveDistanceInMillimeters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§LockOnLeaveTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT
§SetLockOnLeaveTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT
§IsAttentionAwareDimmingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§SetIsAttentionAwareDimmingEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT
Auto Trait Implementations§
impl Freeze for IHumanPresenceSettings_Vtbl
impl RefUnwindSafe for IHumanPresenceSettings_Vtbl
impl Send for IHumanPresenceSettings_Vtbl
impl Sync for IHumanPresenceSettings_Vtbl
impl Unpin for IHumanPresenceSettings_Vtbl
impl UnwindSafe for IHumanPresenceSettings_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