pub trait MapInsert<K>: Collection {
type Output;
// Required method
fn insert(&mut self, key: K, value: Self::Item) -> Self::Output;
}Expand description
Mutable map where new new key-value pairs can be inserted.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".