pub trait IndexedMut<T> {
type Element: ?Sized;
// Required method
fn get_mut(&mut self, i: T) -> Option<&mut Self::Element>;
}
Expand description
Trait for indexing into an array
pub trait IndexedMut<T> {
type Element: ?Sized;
// Required method
fn get_mut(&mut self, i: T) -> Option<&mut Self::Element>;
}
Trait for indexing into an array