pub trait Alloc {
    fn alloc(&mut self, layout: Layout) -> Result<u64, AllocErr>;
    fn dealloc(&mut self, addr: u64, layout: Layout);
}
Expand description

Based loosely on the unstable std::alloc::Alloc trait

Required Methods

Implementors