pub trait TryIndexMut<Idx: ?Sized>: TryIndex<Idx> {
// Required method
fn try_index_mut(&mut self, index: &Idx) -> Option<&mut Self::Output>;
}Expand description
A TryIndex whose elements can also be modified in place.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".