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

pub struct HeapAllocator {
    // some fields omitted
}

Methods

impl HeapAllocator

fn new() -> HeapAllocator

fn first_segment_words(self, value: u32) -> HeapAllocator

fn allocation_strategy(self, value: AllocationStrategy) -> HeapAllocator

Trait Implementations

impl Allocator for HeapAllocator

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

fn pre_drop(&mut self, _segment0_currently_allocated: u32)