pub struct GlobalAllocator;Trait Implementations§
Source§impl Allocator for GlobalAllocator
impl Allocator for GlobalAllocator
Source§impl Clone for GlobalAllocator
impl Clone for GlobalAllocator
Source§fn clone(&self) -> GlobalAllocator
fn clone(&self) -> GlobalAllocator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlobalAllocator
Auto Trait Implementations§
impl Freeze for GlobalAllocator
impl RefUnwindSafe for GlobalAllocator
impl Send for GlobalAllocator
impl Sync for GlobalAllocator
impl Unpin for GlobalAllocator
impl UnsafeUnpin for GlobalAllocator
impl UnwindSafe for GlobalAllocator
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