pub trait SliceSpace: RawSpace {
// Required method
fn as_slice(&self) -> &[Self::Elem];
// Provided methods
fn as_ptr(&self) -> *const Self::Elem { ... }
fn len(&self) -> usize { ... }
}Expand description
SliceSpace is used to define sequential collections, spaces, or containers that can be
viewed as slices.