pub struct ViewId(pub u64);Expand description
Identifies a mounted native view. Chosen by the caller; stable for the view’s lifetime (views are created once and updated in place).
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for ViewId
impl Eq for ViewId
Source§impl Ord for ViewId
impl Ord for ViewId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ViewId
impl PartialOrd for ViewId
impl StructuralPartialEq for ViewId
Auto Trait Implementations§
impl Forget for ViewId
impl Freeze for ViewId
impl RefUnwindSafe for ViewId
impl Send for ViewId
impl Sync for ViewId
impl Unpin for ViewId
impl UnsafeUnpin for ViewId
impl UnwindSafe for ViewId
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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