Skip to main content

TypeIdentifier

Trait TypeIdentifier 

pub trait TypeIdentifier:
    Sized
    + Debug
    + Copy
    + Eq
    + 'static {
    type Data: TypeData<Id = Self>;
}
Expand description

A trait shared by all type identifiers.

Any id that can be used to get a type from a Types.

Required Associated Types§

type Data: TypeData<Id = Self>

The data pointed to by this type of id.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§