Trait GraphStore

Source
pub trait GraphStore<N, V>: Default {
    // Required methods
    fn capacity(&self) -> usize;
    fn clear(&mut self);
    fn dim(&self) -> (usize, usize);
    fn get_entries(&self, key: &N) -> Option<&Entry<N, V>>;
}

Required Methods§

Source

fn capacity(&self) -> usize

Source

fn clear(&mut self)

Source

fn dim(&self) -> (usize, usize)

Source

fn get_entries(&self, key: &N) -> Option<&Entry<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§