[][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>

impl<A> Unpin for BuilderArenaImpl<A> where
    A: Unpin

impl<A> UnwindSafe for BuilderArenaImpl<A> where
    A: UnwindSafe

impl<A> !RefUnwindSafe for BuilderArenaImpl<A>

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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