Struct brotli::enc::HeapAlloc [−][src]
pub struct HeapAlloc<T> where
T: Clone, {
pub default_value: T,
}
Fields
default_value: T
Methods
impl<T> HeapAlloc<T> where
T: Clone,
[src]
impl<T> HeapAlloc<T> where
T: Clone,
Trait Implementations
impl<T> Allocator<T> for HeapAlloc<T> where
T: Clone,
[src]
impl<T> Allocator<T> for HeapAlloc<T> where
T: Clone,
type AllocatedMemory = WrapBox<T>
fn alloc_cell(&mut self, len: usize) -> WrapBox<T>
[src]
fn alloc_cell(&mut self, len: usize) -> WrapBox<T>
fn free_cell(&mut self, _data: WrapBox<T>)
[src]
fn free_cell(&mut self, _data: WrapBox<T>)