Struct flex_alloc::storage::SpillAlloc
source · pub struct SpillAlloc<'a, A> { /* private fields */ }Trait Implementations§
source§impl<'a, A: RawAllocNew> Clone for SpillAlloc<'a, A>
impl<'a, A: RawAllocNew> Clone for SpillAlloc<'a, A>
source§impl<'a, A: Debug> Debug for SpillAlloc<'a, A>
impl<'a, A: Debug> Debug for SpillAlloc<'a, A>
source§impl<A> Default for SpillAlloc<'_, A>
impl<A> Default for SpillAlloc<'_, A>
source§impl<A: RawAlloc> RawAlloc for SpillAlloc<'_, A>
impl<A: RawAlloc> RawAlloc for SpillAlloc<'_, A>
fn try_alloc(&self, layout: Layout) -> Result<NonNull<[u8]>, StorageError>
unsafe fn release(&self, ptr: NonNull<u8>, layout: Layout)
fn try_alloc_zeroed( &self, layout: Layout, ) -> Result<NonNull<[u8]>, StorageError>
unsafe fn try_resize( &self, ptr: NonNull<u8>, old_layout: Layout, new_layout: Layout, ) -> Result<NonNull<[u8]>, StorageError>
source§impl<'a, A: RawAllocNew> RawAllocNew for SpillAlloc<'a, A>
impl<'a, A: RawAllocNew> RawAllocNew for SpillAlloc<'a, A>
Auto Trait Implementations§
impl<'a, A> Freeze for SpillAlloc<'a, A>where
A: Freeze,
impl<'a, A> RefUnwindSafe for SpillAlloc<'a, A>where
A: RefUnwindSafe,
impl<'a, A> !Send for SpillAlloc<'a, A>
impl<'a, A> !Sync for SpillAlloc<'a, A>
impl<'a, A> Unpin for SpillAlloc<'a, A>where
A: Unpin,
impl<'a, A> !UnwindSafe for SpillAlloc<'a, A>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)