pub trait OpsIndexMut<Idx: ?Sized>: OpsIndex<Idx> {
    fn index_mut(&mut self, index: Idx) -> &mut Self::Output;
}

Required Methods

Performs the mutable indexing (container[index]) operation.

Panics

May panic if the index is out of bounds.

Implementors