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

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

Implementations

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]

pub fn into_allocator(self) -> A[src]

Trait Implementations

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

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

Auto Trait Implementations

impl<A> !RefUnwindSafe for BuilderArenaImpl<A>

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

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.