pub trait Insert<K, V> {
// Required method
fn insert(&mut self, key: K, value: V) -> Option<V>;
}Expand description
A trait which provides a method to insert a key and value into a map
pub trait Insert<K, V> {
// Required method
fn insert(&mut self, key: K, value: V) -> Option<V>;
}A trait which provides a method to insert a key and value into a map