Struct mnemos_alloc::containers::HeapBox
source · pub struct HeapBox<T> {
pub(crate) ptr: NonNull<Active<T>>,
pub(crate) pd: PhantomData<Active<T>>,
}
Expand description
An Anachro Heap Box Type
Fields§
§ptr: NonNull<Active<T>>
§pd: PhantomData<Active<T>>
Implementations§
Trait Implementations§
impl<T: Send> Send for HeapBox<T>
impl<T: Sync> Sync for HeapBox<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for HeapBox<T>
impl<T> Unpin for HeapBox<T>where T: Unpin,
impl<T> !UnwindSafe for HeapBox<T>
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