Trait alloc_stdlib::SliceWrapper

source ·
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> SliceWrapper<T> for AllocatedStackMemory<'a, T>
where T: 'a,

source§

impl<'a, T: 'a> SliceWrapper<&'a mut [T]> for HeapPrealloc<'a, T>

source§

impl<T> SliceWrapper<T> for WrapBox<T>