pub struct DisplayId(pub u64);
Expand description
Strongly typed wrapper around a display ID.
Tuple Fields§
§0: u64
Trait Implementations§
Source§impl From<DisplayId> for DisplayId
impl From<DisplayId> for DisplayId
Source§fn from(fidl_display_id: FidlDisplayId) -> Self
fn from(fidl_display_id: FidlDisplayId) -> Self
Converts to this type from the input type.
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 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,
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
)