Struct rs_graph::collections::NodeVecMap
source · pub struct NodeVecMap<'a, G, V> { /* private fields */ }
Implementations§
source§impl<'a, G, V> NodeVecMap<'a, G, V>where
G: IndexGraph,
V: Clone,
impl<'a, G, V> NodeVecMap<'a, G, V>where G: IndexGraph, V: Clone,
Trait Implementations§
source§impl<'a, G, V> ItemMap<<G as GraphType>::Node<'a>, V> for NodeVecMap<'a, G, V>where
G: IndexGraph,
V: Clone,
impl<'a, G, V> ItemMap<<G as GraphType>::Node<'a>, V> for NodeVecMap<'a, G, V>where G: IndexGraph, V: Clone,
source§fn insert_or_replace(&mut self, key: G::Node<'a>, value: V) -> bool
fn insert_or_replace(&mut self, key: G::Node<'a>, value: V) -> bool
Add one item to the map. Read more
source§fn get(&self, key: G::Node<'a>) -> Option<&V>
fn get(&self, key: G::Node<'a>) -> Option<&V>
Return a read-only reference to the element with the given key.
Auto Trait Implementations§
impl<'a, G, V> RefUnwindSafe for NodeVecMap<'a, G, V>where G: RefUnwindSafe, V: RefUnwindSafe,
impl<'a, G, V> Send for NodeVecMap<'a, G, V>where G: Sync, V: Send,
impl<'a, G, V> Sync for NodeVecMap<'a, G, V>where G: Sync, V: Sync,
impl<'a, G, V> Unpin for NodeVecMap<'a, G, V>where V: Unpin,
impl<'a, G, V> UnwindSafe for NodeVecMap<'a, G, V>where G: RefUnwindSafe, 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