Trait Vertex
generic_graph
pub trait Vertex<K, V> where K: Hash + Eq + Clone, { fn get_value(&self) -> &V; fn get_mutable(&mut self) -> &mut V; fn key(&self) -> K; }
fn get_value(&self) -> &V
fn get_mutable(&mut self) -> &mut V
fn key(&self) -> K
impl<K: Hash + Eq + Clone, V> Vertex<K, V> for SimpleVertex<K, V>