Struct capnp::message::HeapAllocator [] [src]

pub struct HeapAllocator {
    // some fields omitted
}

Methods

impl HeapAllocator
[src]

Trait Implementations

impl Allocator for HeapAllocator
[src]

fn allocate_segment(&mut self, minimum_size: u32) -> (*mut Word, u32)

Allocates memory for a new segment, returning a pointer to the start of the segment and a u32 indicating the length of the segment. Read more

fn pre_drop(&mut self, _segment0_currently_allocated: u32)