pub struct PaintId(pub u64);Expand description
Opaque leaf identifier. Hosts mint and dispatch on these; the renderer treats them as opaque. Wide enough for common host-side id types.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for PaintId
impl Eq for PaintId
Source§impl Ord for PaintId
impl Ord for PaintId
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 PaintId
impl PartialOrd for PaintId
impl StructuralPartialEq for PaintId
Auto Trait Implementations§
impl Freeze for PaintId
impl RefUnwindSafe for PaintId
impl Send for PaintId
impl Sync for PaintId
impl Unpin for PaintId
impl UnsafeUnpin for PaintId
impl UnwindSafe for PaintId
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