AsSliceMut

Trait AsSliceMut 

Source
pub trait AsSliceMut<T> {
    // Required method
    fn as_mut_slice(&mut self) -> &mut [T];
}
Expand description

AsSliceMut is a generic trait for converting a type into a mutable slice of its elements.

Required Methods§

Source

fn as_mut_slice(&mut self) -> &mut [T]

converts the type into a mutable slice of its elements.

Implementors§

Source§

impl<S, T> AsSliceMut<T> for S
where S: AsMut<[T]>,