Trait eclectic::map::Insert
[−]
[src]
pub trait Insert: Base + Extend<(Self::Key, Self::Value)> { fn insert(&mut self, key: Self::Key, value: Self::Value) -> Option<Self::Value>; }
A map that supports insertion.
Required Methods
fn insert(&mut self, key: Self::Key, value: Self::Value) -> Option<Self::Value>
Inserts the given key and value into the map and returns the previous value corresponding to the given key, if any.