pub struct GridVertexId(pub usize);Expand description
Stable identifier in the field’s canonical value ordering.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for GridVertexId
impl Clone for GridVertexId
Source§fn clone(&self) -> GridVertexId
fn clone(&self) -> GridVertexId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridVertexId
Source§impl Debug for GridVertexId
impl Debug for GridVertexId
impl Eq for GridVertexId
Source§impl Hash for GridVertexId
impl Hash for GridVertexId
Source§impl Ord for GridVertexId
impl Ord for GridVertexId
Source§fn cmp(&self, other: &GridVertexId) -> Ordering
fn cmp(&self, other: &GridVertexId) -> Ordering
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 PartialEq for GridVertexId
impl PartialEq for GridVertexId
Source§impl PartialOrd for GridVertexId
impl PartialOrd for GridVertexId
impl StructuralPartialEq for GridVertexId
Auto Trait Implementations§
impl Freeze for GridVertexId
impl RefUnwindSafe for GridVertexId
impl Send for GridVertexId
impl Sync for GridVertexId
impl Unpin for GridVertexId
impl UnsafeUnpin for GridVertexId
impl UnwindSafe for GridVertexId
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