Trait eclectic::map::GetMut
[−]
[src]
pub trait GetMut<Q: ?Sized>: Get<Q> { fn get_mut(&mut self, key: &Q) -> Option<&mut Self::Value>; }
A map that supports mutable lookups using keys of type &Q
.
Required Methods
fn get_mut(&mut self, key: &Q) -> Option<&mut Self::Value>
Returns a mutable reference to the value in the map corresponding to the given key.