trait MutableMap<K, V> {
// Required methods
fn insert(&mut self, key: K, value: V) -> Option<V>;
fn remove(&mut self, key: &K) -> Option<V>;
}Expand description
Trait abstracting over map operations needed by apply_inverted_lookup and
apply_with_update. Both BTreeMap and imbl::OrdMap implement this.