Struct windows::Devices::Lights::ILamp_Vtbl
#[repr(C)]pub struct ILamp_Vtbl {
pub base__: IInspectable_Vtbl,
pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub IsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub SetIsEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT,
pub BrightnessLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub SetBrightnessLevel: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub IsColorSettable: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub Color: unsafe extern "system" fn(_: *mut c_void, _: *mut Color) -> HRESULT,
pub SetColor: unsafe extern "system" fn(_: *mut c_void, _: Color) -> HRESULT,
pub AvailabilityChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveAvailabilityChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§IsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§SetIsEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT
§BrightnessLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT
§SetBrightnessLevel: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
§IsColorSettable: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§Color: unsafe extern "system" fn(_: *mut c_void, _: *mut Color) -> HRESULT
§SetColor: unsafe extern "system" fn(_: *mut c_void, _: Color) -> HRESULT
§AvailabilityChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveAvailabilityChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
Auto Trait Implementations§
impl Freeze for ILamp_Vtbl
impl RefUnwindSafe for ILamp_Vtbl
impl Send for ILamp_Vtbl
impl Sync for ILamp_Vtbl
impl Unpin for ILamp_Vtbl
impl UnwindSafe for ILamp_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