GenericMap

Trait GenericMap 

Source
pub trait GenericMap<K, V> {
    // Required methods
    fn remove(&mut self, key: &K) -> Option<V>;
    fn insert(&mut self, key: K, value: V) -> Option<V>;
}
Expand description

A trait implemented by BTreeMap and im_rc::OrdMap.

Required Methods§

Source

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

Source

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

Implementations on Foreign Types§

Source§

impl<K: Ord, V> GenericMap<K, V> for BTreeMap<K, V>

Source§

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

Source§

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

Implementors§