Struct bytes::alloc::Heap [] [src]

pub struct Heap;

Methods

impl Heap

fn allocate(&self, len: usize) -> MemRef

fn deallocate(&self, mem: *mut Mem)

Trait Implementations

impl Allocator for Heap

fn allocate(&self, len: usize) -> MemRef

fn deallocate(&self, mem: *mut Mem)