pub trait MapMut<K: ?Sized>: MapGet<K>{
// Required methods
fn get_mut(&mut self, key: &K) -> Option<&mut Self::Value>;
fn remove(&mut self, key: &K) -> Option<Self::Value>;
}Expand description
Mutator for a map.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".