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

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

Required methods

pub fn allocate(&self, segment_id: u32, amount: WordCount32) -> Option<u32>[src]

pub fn allocate_anywhere(&self, amount: u32) -> (SegmentId, u32)[src]

pub fn get_segment_mut(&self, id: u32) -> (*mut u8, u32)[src]

pub fn as_reader<'a>(&'a self) -> &'a dyn ReaderArena[src]

Loading content...

Implementors

impl BuilderArena for NullArena[src]

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

Loading content...