Trait eclectic::map::Remove
[−]
[src]
pub trait Remove<Q: ?Sized>: GetMut<Q> { fn remove(&mut self, key: &Q) -> Option<Self::Value>; }
A map that supports removals using keys of type &Q
.
Required Methods
fn remove(&mut self, key: &Q) -> Option<Self::Value>
Removes the given key from the map and returns its corresponding value, if any.