Trait Store

Source
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§

Source

fn clear(&mut self)

Source

fn contains_key(&self, key: &N) -> bool

Source

fn drain(&mut self)

Source

fn entry(&mut self, key: N)

Provided Methods§

Source

fn get(&self, key: &N) -> Option<&Vec<(N, V)>>

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.

Implementors§