[][src]Trait unique_type_id::UniqueTypeId

pub trait UniqueTypeId<T> {
    const TYPE_ID: TypeId<T>;

    fn id() -> TypeId<T>;
}

A trait for providing a type id number.

Associated Constants

const TYPE_ID: TypeId<T>

Loading content...

Required methods

fn id() -> TypeId<T>

Returns the type id number.

Loading content...

Implementors

Loading content...