pub struct BoxAllocation<T>(/* private fields */);
Expand description
A typesafe helper that stores the allocated pointer without the data initialized.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BoxAllocation<T>
impl<T> RefUnwindSafe for BoxAllocation<T>where
T: RefUnwindSafe,
impl<T> !Send for BoxAllocation<T>
impl<T> !Sync for BoxAllocation<T>
impl<T> Unpin for BoxAllocation<T>
impl<T> UnwindSafe for BoxAllocation<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