Trait OpsIndexMut
Source pub trait OpsIndexMut<Idx: ?Sized>: OpsIndex<Idx> {
// Required method
fn index_mut(&mut self, index: Idx) -> &mut Self::Output;
}
Performs the mutable indexing (container[index]
) operation.
§Panics
May panic if the index is out of bounds.