Trait algae::prelude::store::Store

source ·
pub trait Store<N, V>: Extend<Edge<N, V>> + IndexMut<N, Output = Vec<(N, V), Global>>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), Global>> { ... }
}

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), Global>>

Implementors§