[][src]Trait lofi::UniversalTypeId

pub unsafe trait UniversalTypeId {
    pub fn universal_type_id() -> TypeId;

    pub fn universal_type_id_of(&self) -> TypeId { ... }
}

An equivalent of TypeId for non-'static types. Use impl_universal_type_id! macro to implement.

Required methods

pub fn universal_type_id() -> TypeId[src]

Returns TypeId of Self.

Loading content...

Provided methods

pub fn universal_type_id_of(&self) -> TypeId[src]

Returns TypeId of a value.

Loading content...

Implementations on Foreign Types

impl UniversalTypeId for ()[src]

Loading content...

Implementors

Loading content...