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§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.