brotli

Trait 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

Implementations on Foreign Types§

Source§

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

Source§

fn slice(&self) -> &[&'a mut [T]]

Source§

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

Source§

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

Implementors§