pub trait Store<N, V>: Extend<Edge<N, V>> + IndexMut<N, Output = Vec<(N, V)>>where
N: Node,{
// Required methods
fn clear(&mut self);
fn contains_key(&self, key: &N) -> bool;
fn drain(&mut self);
fn entry(&mut self, key: N);
// Provided method
fn get(&self, key: &N) -> Option<&Vec<(N, V)>> { ... }
}
Required Methods§
fn clear(&mut self)
fn contains_key(&self, key: &N) -> bool
fn drain(&mut self)
fn entry(&mut self, key: N)
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.