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

pub struct BuilderArenaImpl<A> where
    A: Allocator
{ /* fields omitted */ }

Methods

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

pub fn new(allocator: A) -> Self[src]

pub fn allocate_segment(&self, minimum_size: u32) -> Result<()>[src]

pub fn get_segments_for_output<'a>(&'a self) -> OutputSegments<'a>[src]

pub fn len(&self) -> usize[src]

Trait Implementations

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

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

Auto Trait Implementations

impl<A> !Send for BuilderArenaImpl<A>

impl<A> !Sync for BuilderArenaImpl<A>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.