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.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)