pub trait SliceWrapper<T> {
    // Required method
    fn slice(&self) -> &[T];

    // Provided method
    fn len(&self) -> usize { ... }
}

Required Methods§

source

fn slice(&self) -> &[T]

Provided Methods§

source

fn len(&self) -> usize

Implementors§

source§

impl<'a, T: 'a> SliceWrapper<T> for AllocatedStackMemory<'a, T>