pub struct Vertice<T: PartialOrd + Debug>(pub T);Expand description
The T stands for the id type for the vertice. It should be an integer or a String.
Tuple Fields§
§0: TImplementations§
Trait Implementations§
impl<T: Eq + PartialOrd + Debug> Eq for Vertice<T>
impl<T: PartialOrd + Debug> StructuralPartialEq for Vertice<T>
Auto Trait Implementations§
impl<T> Freeze for Vertice<T>where
T: Freeze,
impl<T> RefUnwindSafe for Vertice<T>where
T: RefUnwindSafe,
impl<T> Send for Vertice<T>where
T: Send,
impl<T> Sync for Vertice<T>where
T: Sync,
impl<T> Unpin for Vertice<T>where
T: Unpin,
impl<T> UnwindSafe for Vertice<T>where
T: UnwindSafe,
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