Skip to main content

MapMut

Trait MapMut 

Source
pub trait MapMut<K, V>:
    Map<K, V>
    + for<'a> GetMut<&'a K>
    + MapInsert<K, Output = Option<V>>
    + for<'a> Remove<&'a K> { }
Expand description

Mutable map data structure.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<K, V, C: Map<K, V> + for<'a> GetMut<&'a K> + MapInsert<K, Output = Option<V>> + for<'a> Remove<&'a K>> MapMut<K, V> for C