#[repr(C)]pub struct ModeId {
pub value: u16,
}Expand description
Identifies a supported operational mode for a display.
Values are unique relatively to a DisplayId value, which is unique
within a [fuchsia.hardware.display.engine/Engine] connection.
[fuchsia.hardware.display.types/INVALID_MODE_ID] represents an invalid
value.
Fields§
§value: u16Trait Implementations§
Source§impl<'a, ___E> Encode<ModeId, ___E> for &'a ModeIdwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<ModeId, ___E> for &'a ModeIdwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<ModeId, ___E> for ModeIdwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<ModeId, ___E> for ModeIdwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<ModeId, ModeId>
const COPY_OPTIMIZATION: CopyOptimization<ModeId, ModeId>
Source§impl FromWireRef<ModeId> for ModeId
impl FromWireRef<ModeId> for ModeId
Source§fn from_wire_ref(wire: &ModeId) -> ModeId
fn from_wire_ref(wire: &ModeId) -> ModeId
Converts the given reference to this type.
Source§impl Ord for ModeId
impl Ord for ModeId
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 ModeId
impl PartialOrd for ModeId
impl Copy for ModeId
impl Eq for ModeId
impl StructuralPartialEq for ModeId
Auto Trait Implementations§
impl Freeze for ModeId
impl RefUnwindSafe for ModeId
impl Send for ModeId
impl Sync for ModeId
impl Unpin for ModeId
impl UnsafeUnpin for ModeId
impl UnwindSafe for ModeId
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]