pub struct GlobalAlloc<T> { /* private fields */ }Expand description
A vector-backed allocation.
Trait Implementations§
Source§impl<T> Alloc<T> for GlobalAlloc<T>
impl<T> Alloc<T> for GlobalAlloc<T>
Source§impl<T> Drop for GlobalAlloc<T>
impl<T> Drop for GlobalAlloc<T>
impl<T> Send for GlobalAlloc<T>where
T: Send,
impl<T> Sync for GlobalAlloc<T>where
T: Sync,
Auto Trait Implementations§
impl<T> Freeze for GlobalAlloc<T>
impl<T> RefUnwindSafe for GlobalAlloc<T>where
T: RefUnwindSafe,
impl<T> Unpin for GlobalAlloc<T>
impl<T> UnsafeUnpin for GlobalAlloc<T>
impl<T> UnwindSafe for GlobalAlloc<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