Struct capnp::message::ScratchSpaceHeapAllocator  
source · pub struct ScratchSpaceHeapAllocator<'a, 'b: 'a> { /* private fields */ }Implementations
sourceimpl<'a, 'b: 'a> ScratchSpaceHeapAllocator<'a, 'b>
 
impl<'a, 'b: 'a> ScratchSpaceHeapAllocator<'a, 'b>
pub fn new(
    scratch_space: &'a mut ScratchSpace<'b>
) -> ScratchSpaceHeapAllocator<'a, 'b>
pub fn second_segment_words(
    self,
    value: u32
) -> ScratchSpaceHeapAllocator<'a, 'b>
pub fn allocation_strategy(
    self,
    value: AllocationStrategy
) -> ScratchSpaceHeapAllocator<'a, 'b>
Trait Implementations
sourceimpl<'a, 'b: 'a> Allocator for ScratchSpaceHeapAllocator<'a, 'b>
 
impl<'a, 'b: 'a> Allocator for ScratchSpaceHeapAllocator<'a, 'b>
Auto Trait Implementations
impl<'a, 'b> RefUnwindSafe for ScratchSpaceHeapAllocator<'a, 'b>
impl<'a, 'b> Send for ScratchSpaceHeapAllocator<'a, 'b>
impl<'a, 'b> Sync for ScratchSpaceHeapAllocator<'a, 'b>
impl<'a, 'b> Unpin for ScratchSpaceHeapAllocator<'a, 'b>where
    'b: 'a,
impl<'a, 'b> !UnwindSafe for ScratchSpaceHeapAllocator<'a, 'b>
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