pub struct DeviceId {
pub adapter_id: LUID,
pub id: u32,
}Expand description
A convenience type to obtain and pass a display device adapterId and id.
Fields§
§adapter_id: LUIDThe device adapterId.
id: u32The identifier on the specified adapter.
Trait Implementations§
Source§impl From<DISPLAYCONFIG_PATH_SOURCE_INFO> for DeviceId
impl From<DISPLAYCONFIG_PATH_SOURCE_INFO> for DeviceId
Source§fn from(value: DISPLAYCONFIG_PATH_SOURCE_INFO) -> Self
fn from(value: DISPLAYCONFIG_PATH_SOURCE_INFO) -> Self
Converts to this type from the input type.
Source§impl From<DISPLAYCONFIG_PATH_TARGET_INFO> for DeviceId
impl From<DISPLAYCONFIG_PATH_TARGET_INFO> for DeviceId
Source§fn from(value: DISPLAYCONFIG_PATH_TARGET_INFO) -> Self
fn from(value: DISPLAYCONFIG_PATH_TARGET_INFO) -> Self
Converts to this type from the input type.
Source§impl Ord for DeviceId
impl Ord for DeviceId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DeviceId
impl PartialOrd for DeviceId
impl Copy for DeviceId
impl Eq for DeviceId
impl StructuralPartialEq for DeviceId
Auto Trait Implementations§
impl Freeze for DeviceId
impl RefUnwindSafe for DeviceId
impl Send for DeviceId
impl Sync for DeviceId
impl Unpin for DeviceId
impl UnsafeUnpin for DeviceId
impl UnwindSafe for DeviceId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.