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

pub struct BuilderArena {
    pub segment0: SegmentBuilder,
    pub more_segments: Vec<Box<SegmentBuilder>>,
    pub dummy_limiter: Rc<ReadLimiter>,
    // some fields omitted
}

Fields

segment0
more_segments
dummy_limiter

Methods

impl BuilderArena

fn new(allocator: &'static mut Allocator) -> Box<BuilderArena>

fn try_get_segment(&self, id: SegmentId) -> Result<*const SegmentReader>

fn allocate(&mut self, amount: WordCount32) -> (*mut SegmentBuilder, *mut Word)

fn get_segment(&mut self, id: SegmentId) -> Result<*mut SegmentBuilder>

fn get_segments_for_output<'a>(&'a self) -> OutputSegments<'a>