Struct brotli_no_stdlib::AllocatedStackMemory []

pub struct AllocatedStackMemory<'a, T> where T: 'a {
    pub mem: &'a mut [T],
}

Fields

mem: &'a mut [T]

Trait Implementations

impl<'a, T> Default for AllocatedStackMemory<'a, T> where T: 'a

fn default() -> AllocatedStackMemory<'a, T>

Returns the "default value" for a type. Read more

impl<'a, T> Index<usize> for AllocatedStackMemory<'a, T> where T: 'a

type Output = T

fn index(&'b self, _index: usize) -> &'b T

impl<'a, T> IndexMut<usize> for AllocatedStackMemory<'a, T> where T: 'a

fn index_mut(&'b mut self, _index: usize) -> &'b mut T

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

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

impl<'a, T> SliceWrapperMut<T> for AllocatedStackMemory<'a, T> where T: 'a

fn slice_mut(&mut self) -> &mut [T]