pub trait AsMutSlice: AsSlice {
// Required method
fn as_mut_slice(&mut self) -> SliceMut<'_, Self::Item>;
}
Expand description
Similar to AsMut<Slice>
, but returns a value type rather than a mutable
reference.
Required Methods§
Sourcefn as_mut_slice(&mut self) -> SliceMut<'_, Self::Item>
fn as_mut_slice(&mut self) -> SliceMut<'_, Self::Item>
Returns a SliceMut
containing the entire array.