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§

source

fn new(m: &mut AllocT, init: T) -> Self

source

fn new_uninit(m: &mut AllocT) -> Self

source

fn free(&mut self, m: &mut AllocT)

Implementors§

source§

impl<AllocU32: Allocator<u32>> Allocable<u32, AllocU32> for H10Buckets<AllocU32>