Struct windows::Devices::Lights::ILampArray_Vtbl
#[repr(C)]pub struct ILampArray_Vtbl {Show 27 fields
pub base__: IInspectable_Vtbl,
pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub HardwareVendorId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub HardwareProductId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub HardwareVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub LampArrayKind: unsafe extern "system" fn(_: *mut c_void, _: *mut LampArrayKind) -> HRESULT,
pub LampCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub MinUpdateInterval: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT,
pub BoundingBox: unsafe extern "system" fn(_: *mut c_void, _: *mut Vector3) -> 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 f64) -> HRESULT,
pub SetBrightnessLevel: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub IsConnected: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub SupportsVirtualKeys: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub GetLampInfo: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut *mut c_void) -> HRESULT,
pub GetIndicesForKey: unsafe extern "system" fn(_: *mut c_void, _: VirtualKey, _: *mut u32, _: *mut *mut i32) -> HRESULT,
pub GetIndicesForPurposes: unsafe extern "system" fn(_: *mut c_void, _: LampPurposes, _: *mut u32, _: *mut *mut i32) -> HRESULT,
pub SetColor: unsafe extern "system" fn(_: *mut c_void, _: Color) -> HRESULT,
pub SetColorForIndex: unsafe extern "system" fn(_: *mut c_void, _: i32, _: Color) -> HRESULT,
pub SetSingleColorForIndices: unsafe extern "system" fn(_: *mut c_void, _: Color, _: u32, _: *const i32) -> HRESULT,
pub SetColorsForIndices: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const Color, _: u32, _: *const i32) -> HRESULT,
pub SetColorsForKey: unsafe extern "system" fn(_: *mut c_void, _: Color, _: VirtualKey) -> HRESULT,
pub SetColorsForKeys: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const Color, _: u32, _: *const VirtualKey) -> HRESULT,
pub SetColorsForPurposes: unsafe extern "system" fn(_: *mut c_void, _: Color, _: LampPurposes) -> HRESULT,
pub SendMessageAsync: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub RequestMessageAsync: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§HardwareVendorId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT
§HardwareProductId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT
§HardwareVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT
§LampArrayKind: unsafe extern "system" fn(_: *mut c_void, _: *mut LampArrayKind) -> HRESULT
§LampCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§MinUpdateInterval: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT
§BoundingBox: unsafe extern "system" fn(_: *mut c_void, _: *mut Vector3) -> 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 f64) -> HRESULT
§SetBrightnessLevel: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§IsConnected: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§SupportsVirtualKeys: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§GetLampInfo: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut *mut c_void) -> HRESULT
§GetIndicesForKey: unsafe extern "system" fn(_: *mut c_void, _: VirtualKey, _: *mut u32, _: *mut *mut i32) -> HRESULT
§GetIndicesForPurposes: unsafe extern "system" fn(_: *mut c_void, _: LampPurposes, _: *mut u32, _: *mut *mut i32) -> HRESULT
§SetColor: unsafe extern "system" fn(_: *mut c_void, _: Color) -> HRESULT
§SetColorForIndex: unsafe extern "system" fn(_: *mut c_void, _: i32, _: Color) -> HRESULT
§SetSingleColorForIndices: unsafe extern "system" fn(_: *mut c_void, _: Color, _: u32, _: *const i32) -> HRESULT
§SetColorsForIndices: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const Color, _: u32, _: *const i32) -> HRESULT
§SetColorsForKey: unsafe extern "system" fn(_: *mut c_void, _: Color, _: VirtualKey) -> HRESULT
§SetColorsForKeys: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const Color, _: u32, _: *const VirtualKey) -> HRESULT
§SetColorsForPurposes: unsafe extern "system" fn(_: *mut c_void, _: Color, _: LampPurposes) -> HRESULT
§SendMessageAsync: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT
§RequestMessageAsync: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut *mut c_void) -> HRESULT
Auto Trait Implementations§
impl Freeze for ILampArray_Vtbl
impl RefUnwindSafe for ILampArray_Vtbl
impl Send for ILampArray_Vtbl
impl Sync for ILampArray_Vtbl
impl Unpin for ILampArray_Vtbl
impl UnwindSafe for ILampArray_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