Trait capnp::private::arena::BuilderArena
source · 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;
}