pub struct BoxMemory;
Expand description
An allocator that uses Box
to allocate and deallocate memory.
Trait Implementations§
impl Copy for BoxMemory
Auto Trait Implementations§
impl Freeze for BoxMemory
impl RefUnwindSafe for BoxMemory
impl Send for BoxMemory
impl Sync for BoxMemory
impl Unpin for BoxMemory
impl UnwindSafe for BoxMemory
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