Trait GetMut
Source pub trait GetMut<Q>: Get<Q> {
// Required method
fn get_mut(&mut self, index: Q) -> Option<&mut Self::Value>
where Self::Key: Borrow<Q>;
}
Expand description
GetMut defines an interface for entities that can be accessed by a key; the design
is similar to the IndexMut trait in the standard library
returns a mutable reference to the element at the specified index.