pub struct GraphicId(pub u64);Expand description
Unique identifier for every graphic added to a grid. An id of 0 represents a temporary, non-referenceable image (matching kitty’s behavior).
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for GraphicId
impl Eq for GraphicId
Source§impl Ord for GraphicId
impl Ord for GraphicId
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 GraphicId
impl PartialOrd for GraphicId
impl StructuralPartialEq for GraphicId
Auto Trait Implementations§
impl Freeze for GraphicId
impl RefUnwindSafe for GraphicId
impl Send for GraphicId
impl Sync for GraphicId
impl Unpin for GraphicId
impl UnsafeUnpin for GraphicId
impl UnwindSafe for GraphicId
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