Trait Allocated
unique
pub trait Allocated: Eq + Sized + 'static { type Alloc: Allocator<Self>; fn allocator() -> &'static Self::Alloc; }
A type which has some allocator
Allows the use of Id::new
Id::new
type Alloc: Allocator<Self>
fn allocator() -> &'static Self::Alloc