RawSpaceMut

Trait RawSpaceMut 

Source
pub trait RawSpaceMut: RawSpace {
    // Required method
    fn as_ptr_mut(&mut self) -> *mut Self::Elem;
}
Expand description

RawSpaceMut is a trait that provides various mutable methods for accessing elements.

Required Methods§

Source

fn as_ptr_mut(&mut self) -> *mut Self::Elem

returns a mutable pointer to the element currently within scope

Implementations on Foreign Types§

Source§

impl<T> RawSpaceMut for &mut [T]

Source§

fn as_ptr_mut(&mut self) -> *mut <&mut [T] as RawSpace>::Elem

Source§

impl<T> RawSpaceMut for [T]

Source§

fn as_ptr_mut(&mut self) -> *mut <[T] as RawSpace>::Elem

Source§

impl<T> RawSpaceMut for Vec<T>

Source§

fn as_ptr_mut(&mut self) -> *mut <Vec<T> as RawSpace>::Elem

Source§

impl<const N: usize, T> RawSpaceMut for [T; N]

Implementors§