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.
pub trait MapInsert<K>: Collection {
type Output;
// Required method
fn insert(&mut self, key: K, value: Self::Item) -> Self::Output;
}Mutable map where new new key-value pairs can be inserted.