[][src]Trait capnp::private::arena::BuilderArena

pub trait BuilderArena: ReaderArena {
    fn allocate(&self, segment_id: u32, amount: WordCount32) -> Option<u32>;
fn allocate_anywhere(&self, amount: u32) -> (SegmentId, u32);
fn get_segment_mut(&self, id: u32) -> (*mut Word, u32);
fn as_reader<'a>(&'a self) -> &'a dyn ReaderArena; }

Required Methods

Implementors

impl BuilderArena for NullArena
[src]

impl<A> BuilderArena for BuilderArenaImpl<A> where
    A: Allocator
[src]