Struct capnp::message::HeapAllocator
source · pub struct HeapAllocator { /* private fields */ }
Implementations
sourceimpl HeapAllocator
impl HeapAllocator
pub fn new() -> HeapAllocator
pub fn first_segment_words(self, value: u32) -> HeapAllocator
pub fn allocation_strategy(self, value: AllocationStrategy) -> HeapAllocator
Trait Implementations
sourceimpl Allocator for HeapAllocator
impl Allocator for HeapAllocator
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more