ads_rs::v1::collection

Trait Map

Source
pub trait Map<K: Ord, V> {
    // Required methods
    fn get(&self, key: &K) -> Option<V>;
    fn erase(&mut self, key: &K) -> Option<V>;
    fn insert(&mut self, key: K, value: V) -> Option<V>;
}

Required Methods§

Source

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

Source

fn erase(&mut self, key: &K) -> Option<V>

Source

fn insert(&mut self, key: K, value: V) -> Option<V>

Implementors§