brotli::enc::reader

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§