[][src]Trait purezen::allocator::Allocated

pub trait Allocated: Debug + Sized {
    type Id: Index;
    fn id(&self) -> Self::Id;
}

Trait implemented by all types that can be used by this allocator

Associated Types

type Id: Index

Identifier type for this allocatable value

Loading content...

Required methods

fn id(&self) -> Self::Id

Get the Id associated with this object

Loading content...

Implementors

impl Allocated for Object[src]

Trait implemented by all types that can be used by this allocator

type Id = Id

impl Allocated for Graph[src]

Trait implemented by all types that can be used by this allocator

type Id = Id

Loading content...