Trait OptionalIndexMut

Source
pub trait OptionalIndexMut<I>: OptionalIndex<I>
where I: ?Sized,
{ // Required method fn optional_index_mut(&mut self, index: I) -> Option<&mut Self::Output>; }
Expand description

Optional mutable index.

Required Methods§

Source

fn optional_index_mut(&mut self, index: I) -> Option<&mut Self::Output>

Implementations on Foreign Types§

Source§

impl<T, I> OptionalIndexMut<I> for Option<T>
where T: OptionalIndexMut<I>,

Source§

fn optional_index_mut(&mut self, index: I) -> Option<&mut Self::Output>

Source§

impl<T, I> OptionalIndexMut<I> for &mut T
where T: OptionalIndexMut<I>,

Source§

fn optional_index_mut(&mut self, index: I) -> Option<&mut Self::Output>

Implementors§