pub trait AsMutSlice: AsSlice {
// Required method
fn as_mut_slice(&mut self) -> &mut [Self::Element];
}
Expand description
Something that can be seen as an mutable slice
Required Methods§
Sourcefn as_mut_slice(&mut self) -> &mut [Self::Element]
fn as_mut_slice(&mut self) -> &mut [Self::Element]
Returns the mutable slice view of Self