pub struct Global;
A fallback for alloc::alloc::Global, which is currently unstable.
alloc::alloc::Global
alloc::alloc::Allocator::allocate
alloc::alloc::Allocator::deallocate
alloc::alloc::Allocator::allocate_zeroed
alloc::alloc::Allocator::grow
alloc::alloc::Allocator::grow_zeroed
alloc::alloc::Allocator::shrink
alloc::alloc::Allocator::by_ref
source
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U