HashMapLike

Trait HashMapLike 

Source
pub trait HashMapLike<K, E>
where K: Eq + Hash,
{ // Required method fn insert(&mut self, k: K, e: E) -> Option<E>; }
Expand description

Trait HashMapLike adopter for HashMap-like containers.

Required Methods§

Source

fn insert(&mut self, k: K, e: E) -> Option<E>

Inserts a key-value pair into the map.

Implementors§

Source§

impl<K, E> HashMapLike<K, E> for HashMap<K, E>
where K: Eq + Hash,