[][src]Struct capnp::message::HeapAllocator

pub struct HeapAllocator { /* fields omitted */ }

Standard segment allocator. Allocates each segment as a Vec<Word>, where Word has 8-byte alignment.


impl HeapAllocator[src]

pub fn new() -> HeapAllocator[src]

pub fn first_segment_words(self, value: u32) -> HeapAllocator[src]

pub fn allocation_strategy(self, value: AllocationStrategy) -> HeapAllocator[src]

Trait Implementations

impl Allocator for HeapAllocator[src]

impl Debug for HeapAllocator[src]

Auto Trait Implementations

impl RefUnwindSafe for HeapAllocator

impl Send for HeapAllocator

impl Sync for HeapAllocator

impl Unpin for HeapAllocator

impl UnwindSafe for HeapAllocator

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.