RawSpaceRef

Trait RawSpaceRef 

Source
pub trait RawSpaceRef: RawSpace {
    // Required method
    fn as_ptr(&self) -> *const Self::Elem;
}
Expand description

RawSpaceRef is a trait that provides various read-only methods for accessing elements.

Required Methods§

Source

fn as_ptr(&self) -> *const Self::Elem

Implementations on Foreign Types§

Source§

impl<T> RawSpaceRef for &[T]

Source§

impl<T> RawSpaceRef for &mut [T]

Source§

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

Source§

impl<T> RawSpaceRef for [T]

Source§

impl<T> RawSpaceRef for Vec<T>

Source§

fn as_ptr(&self) -> *const <Vec<T> as RawSpace>::Elem

Source§

impl<U, T> RawSpaceRef for &U
where U: RawSpaceRef<Elem = T>,

Source§

impl<U, T> RawSpaceRef for &mut U
where U: RawSpaceRef<Elem = T>,

Source§

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

Implementors§