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

Required Methods§

source

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.

Implementors§