pub struct Global;Expand description
The global allocator.
This is the default allocator used by AlignedVec and other types.
It delegates to the Rust global allocator (std::alloc::alloc).
Trait Implementations§
Source§impl Alloc for Global
impl Alloc for Global
impl Copy for Global
Auto Trait Implementations§
impl Freeze for Global
impl RefUnwindSafe for Global
impl Send for Global
impl Sync for Global
impl Unpin for Global
impl UnwindSafe for Global
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