Trait OpsIndexMut

Source
pub trait OpsIndexMut<Idx>: OpsIndex<Idx>
where Idx: ?Sized,
{ // 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.

Implementations on Foreign Types§

Source§

impl<I> OpsIndexMut<I> for Bson
where I: Index,

Source§

fn index_mut(&mut self, index: I) -> &mut Bson

Implementors§