Trait AsMutSlice

Source
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§

Source

fn as_mut_slice(&mut self) -> SliceMut<'_, Self::Item>

Returns a SliceMut containing the entire array.

Implementors§

Source§

impl<T> AsMutSlice for Slice<T>
where T: Soars,

Source§

impl<T> AsMutSlice for SliceMut<'_, T>
where T: Soars,

Source§

impl<T> AsMutSlice for Soa<T>
where T: Soars,