pub struct VertexId(/* private fields */);Expand description
An index pointing to a vertex.
This is just a thin newtype wrapper over usize for clarity and to disambiguate it from other index types. Use the [id()] method to access the underlying index.
Implementations§
Trait Implementations§
Source§impl Ord for VertexId
impl Ord for VertexId
Source§impl PartialOrd for VertexId
impl PartialOrd for VertexId
impl Copy for VertexId
impl Eq for VertexId
impl StructuralPartialEq for VertexId
Auto Trait Implementations§
impl Freeze for VertexId
impl RefUnwindSafe for VertexId
impl Send for VertexId
impl Sync for VertexId
impl Unpin for VertexId
impl UnsafeUnpin for VertexId
impl UnwindSafe for VertexId
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