Struct flex_alloc::storage::SpillStorage
source · pub struct SpillStorage<'a, I: 'a, A> { /* private fields */ }Implementations§
source§impl<I, A: RawAllocNew> SpillStorage<'_, I, A>
impl<I, A: RawAllocNew> SpillStorage<'_, I, A>
Trait Implementations§
source§impl<'a, I: Clone + 'a, A: Clone> Clone for SpillStorage<'a, I, A>
impl<'a, I: Clone + 'a, A: Clone> Clone for SpillStorage<'a, I, A>
source§fn clone(&self) -> SpillStorage<'a, I, A>
fn clone(&self) -> SpillStorage<'a, I, A>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a, I: Default + 'a, A: Default> Default for SpillStorage<'a, I, A>
impl<'a, I: Default + 'a, A: Default> Default for SpillStorage<'a, I, A>
source§fn default() -> SpillStorage<'a, I, A>
fn default() -> SpillStorage<'a, I, A>
Returns the “default value” for a type. Read more
source§impl<'a, I, A> RawAllocIn for SpillStorage<'a, I, A>
impl<'a, I, A> RawAllocIn for SpillStorage<'a, I, A>
type RawAlloc = SpillAlloc<'a, A>
fn try_alloc_in( self, layout: Layout, ) -> Result<(NonNull<[u8]>, Self::RawAlloc), StorageError>
fn try_alloc_in_zeroed( self, layout: Layout, ) -> Result<(NonNull<[u8]>, Self::RawAlloc), StorageError>
source§impl<'a, T, A: RawAlloc> VecNewIn<T> for SpillStorage<'a, &'a mut [MaybeUninit<T>], A>
impl<'a, T, A: RawAlloc> VecNewIn<T> for SpillStorage<'a, &'a mut [MaybeUninit<T>], A>
Auto Trait Implementations§
impl<'a, I, A> Freeze for SpillStorage<'a, I, A>
impl<'a, I, A> RefUnwindSafe for SpillStorage<'a, I, A>where
I: RefUnwindSafe,
A: RefUnwindSafe,
impl<'a, I, A> Send for SpillStorage<'a, I, A>
impl<'a, I, A> Sync for SpillStorage<'a, I, A>
impl<'a, I, A> Unpin for SpillStorage<'a, I, A>
impl<'a, I, A> !UnwindSafe for SpillStorage<'a, I, 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)