Trait lrs::ops::IndexMut

Objects that implement the mutable subscript operator.

Syntax

trait IndexMut<Idx> : Index<Idx>
    where Idx: ?Sized,
{
    /* Required methods */
    fn index_mut(&mut self, index: Idx) -> &mut <Self as Index<Idx>>::Output
}

Methods

ReceiverNameDescription
&mut selfindex_mut

The method that will be called by the operator.