pub struct Heap<T> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<T> From<Box<[MaybeUninit<T>]>> for Heap<T>
impl<T> From<Box<[MaybeUninit<T>]>> for Heap<T>
Source§fn from(value: Box<[MaybeUninit<T>]>) -> Self
fn from(value: Box<[MaybeUninit<T>]>) -> Self
Converts to this type from the input type.
Source§impl<T> From<Vec<MaybeUninit<T>>> for Heap<T>
impl<T> From<Vec<MaybeUninit<T>>> for Heap<T>
Source§fn from(value: Vec<MaybeUninit<T>>) -> Self
fn from(value: Vec<MaybeUninit<T>>) -> Self
Converts to this type from the input type.
Source§impl<T> Storage for Heap<T>
impl<T> Storage for Heap<T>
Source§fn as_mut_ptr(&self) -> *mut MaybeUninit<T>
fn as_mut_ptr(&self) -> *mut MaybeUninit<T>
Return mutable pointer to the beginning of the storage items.
fn is_empty(&self) -> bool
Source§fn as_ptr(&self) -> *const MaybeUninit<Self::Item>
fn as_ptr(&self) -> *const MaybeUninit<Self::Item>
Return pointer to the beginning of the storage items.
impl<T> Send for Heap<T>where
T: Send,
impl<T> Sync for Heap<T>where
T: Send,
Auto Trait Implementations§
impl<T> Freeze for Heap<T>
impl<T> RefUnwindSafe for Heap<T>where
T: RefUnwindSafe,
impl<T> Unpin for Heap<T>
impl<T> UnwindSafe for Heap<T>where
T: RefUnwindSafe,
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