pub trait Insert<K>: Map {
// Required method
fn insert(&mut self, key: K, value: Self::Item);
}Expand description
Insert a key-value pair into the collection.
pub trait Insert<K>: Map {
// Required method
fn insert(&mut self, key: K, value: Self::Item);
}Insert a key-value pair into the collection.