pub trait IndexMut {
type IndexMut<'a>
where Self: 'a;
// Required method
fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>;
// Provided method
fn last_mut(&mut self) -> Option<Self::IndexMut<'_>>
where Self: Len { ... }
}
Expand description
A type that can be mutably accessed by usize
.
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.