#[repr(C)]pub struct DisplayId {
pub value: u64,
}Expand description
Unique identifier for a display device attached to the system.
[fuchsia.hardware.display.types/INVALID_DISP_ID] represents an invalid
value.
Values are unique within a [fuchsia.hardware.display/Controller]
connection. An external display will be associated with different display ID
values if it is disconnected and reconnected.
A display device may be identified by different values across boot cycles or
across different Controller connections. Software that needs to identify
displays (for example, to honor display-specific preferences) should use
[fuchsia.hardware.display/Info] identifiers, not display IDs.
This type is not related to the VESA DisplayID standard.
Fields§
§value: u64Trait Implementations§
Source§impl<'a, ___E> Encode<DisplayId, ___E> for &'a DisplayIdwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<DisplayId, ___E> for &'a DisplayIdwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<DisplayId, ___E> for DisplayIdwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<DisplayId, ___E> for DisplayIdwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<DisplayId, DisplayId>
const COPY_OPTIMIZATION: CopyOptimization<DisplayId, DisplayId>
Source§impl FromWireRef<DisplayId> for DisplayId
impl FromWireRef<DisplayId> for DisplayId
Source§fn from_wire_ref(wire: &DisplayId) -> DisplayId
fn from_wire_ref(wire: &DisplayId) -> DisplayId
Converts the given reference to this type.
Source§impl Ord for DisplayId
impl Ord for DisplayId
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 DisplayId
impl PartialOrd for DisplayId
impl Copy for DisplayId
impl Eq for DisplayId
impl StructuralPartialEq for DisplayId
Auto Trait Implementations§
impl Freeze for DisplayId
impl RefUnwindSafe for DisplayId
impl Send for DisplayId
impl Sync for DisplayId
impl Unpin for DisplayId
impl UnsafeUnpin for DisplayId
impl UnwindSafe for DisplayId
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]