Struct display_utils::LayerId
source · pub struct LayerId(pub u64);
Expand description
Strongly typed wrapper around a display layer ID.
Tuple Fields§
§0: u64
Trait Implementations§
source§impl From<LayerId> for LayerId
impl From<LayerId> for LayerId
source§fn from(fidl_layer_id: FidlLayerId) -> Self
fn from(fidl_layer_id: FidlLayerId) -> Self
Converts to this type from the input type.
source§impl PartialEq for LayerId
impl PartialEq for LayerId
impl Copy for LayerId
impl Eq for LayerId
impl StructuralPartialEq for LayerId
Auto Trait Implementations§
impl Freeze for LayerId
impl RefUnwindSafe for LayerId
impl Send for LayerId
impl Sync for LayerId
impl Unpin for LayerId
impl UnwindSafe for LayerId
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