[][src]Trait unique::Allocated

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

Associated Types

type Alloc: Allocator<Self>

Loading content...

Required methods

fn allocator() -> &'static Self::Alloc

Loading content...

Implementors

Loading content...