Struct windows::Devices::Display::IDisplayMonitor_Vtbl

#[repr(C)]
pub struct IDisplayMonitor_Vtbl {
Show 21 fields pub base__: IInspectable_Vtbl, pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub DisplayName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub ConnectionKind: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayMonitorConnectionKind) -> HRESULT, pub PhysicalConnector: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayMonitorPhysicalConnectorKind) -> HRESULT, pub DisplayAdapterDeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub DisplayAdapterId: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayAdapterId) -> HRESULT, pub DisplayAdapterTargetId: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub UsageKind: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayMonitorUsageKind) -> HRESULT, pub NativeResolutionInRawPixels: unsafe extern "system" fn(_: *mut c_void, _: *mut SizeInt32) -> HRESULT, pub PhysicalSizeInInches: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub RawDpiX: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub RawDpiY: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub RedPrimary: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT, pub GreenPrimary: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT, pub BluePrimary: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT, pub WhitePoint: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT, pub MaxLuminanceInNits: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub MinLuminanceInNits: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub MaxAverageFullFrameLuminanceInNits: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub GetDescriptor: unsafe extern "system" fn(_: *mut c_void, _: DisplayMonitorDescriptorKind, _: *mut u32, _: *mut *mut u8) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§DisplayName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§ConnectionKind: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayMonitorConnectionKind) -> HRESULT§PhysicalConnector: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayMonitorPhysicalConnectorKind) -> HRESULT§DisplayAdapterDeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§DisplayAdapterId: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayAdapterId) -> HRESULT§DisplayAdapterTargetId: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§UsageKind: unsafe extern "system" fn(_: *mut c_void, _: *mut DisplayMonitorUsageKind) -> HRESULT§NativeResolutionInRawPixels: unsafe extern "system" fn(_: *mut c_void, _: *mut SizeInt32) -> HRESULT§PhysicalSizeInInches: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§RawDpiX: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§RawDpiY: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§RedPrimary: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT§GreenPrimary: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT§BluePrimary: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT§WhitePoint: unsafe extern "system" fn(_: *mut c_void, _: *mut Point) -> HRESULT§MaxLuminanceInNits: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§MinLuminanceInNits: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§MaxAverageFullFrameLuminanceInNits: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§GetDescriptor: unsafe extern "system" fn(_: *mut c_void, _: DisplayMonitorDescriptorKind, _: *mut u32, _: *mut *mut u8) -> 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.