pub trait RawStoreMut<K, V>: RawStore<K, V> {
// Required methods
fn get_mut(&mut self, key: &K) -> Option<&mut V>;
fn insert(&mut self, key: K, value: V) -> Option<V>;
fn remove(&mut self, key: &K) -> Option<V>;
}Expand description
RawStoreMut extends the RawStore trait by introducing various mutable operations
and accessors for elements within the store.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".