pub struct Vertex<K, V>{ /* private fields */ }
Implementations§
Source§impl<K, V> Vertex<K, V>
impl<K, V> Vertex<K, V>
Sourcepub fn with_value(key: K, value: V) -> Self
pub fn with_value(key: K, value: V) -> Self
Create a new vertex with a value.
Trait Implementations§
Source§impl<K, V> Ord for Vertex<K, V>
impl<K, V> Ord for Vertex<K, V>
Source§impl<K, V> PartialOrd for Vertex<K, V>
impl<K, V> PartialOrd for Vertex<K, V>
impl<K, V> Copy for Vertex<K, V>
impl<K, V> Eq for Vertex<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for Vertex<K, V>
impl<K, V> RefUnwindSafe for Vertex<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Vertex<K, V>
impl<K, V> Sync for Vertex<K, V>
impl<K, V> Unpin for Vertex<K, V>
impl<K, V> UnwindSafe for Vertex<K, V>where
K: UnwindSafe,
V: 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