Trait brotli::enc::backward_references::hash_to_binary_tree::Allocable
source · pub trait Allocable<T: Copy, AllocT: Allocator<T>> {
// Required methods
fn new(m: &mut AllocT, init: T) -> Self;
fn new_uninit(m: &mut AllocT) -> Self;
fn free(&mut self, m: &mut AllocT);
}
Required Methods§
fn new(m: &mut AllocT, init: T) -> Self
fn new_uninit(m: &mut AllocT) -> Self
fn free(&mut self, m: &mut AllocT)
Object Safety§
This trait is not object safe.