Trait TypeIdentifier

Source
pub trait TypeIdentifier:
    Debug
    + Copy
    + Eq
    + Sized
    + 'static {
    type Data: TypeData<Id = Self>;
}
Available on crate feature validate only.
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§

Source

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", so this trait is not object safe.

Implementors§

Source§

impl TypeIdentifier for ComponentCoreInstanceTypeId

Available on crate feature component-model only.
Source§

impl TypeIdentifier for ComponentCoreModuleTypeId

Available on crate feature component-model only.
Source§

impl TypeIdentifier for ComponentDefinedTypeId

Available on crate feature component-model only.
Source§

impl TypeIdentifier for ComponentFuncTypeId

Available on crate feature component-model only.
Source§

impl TypeIdentifier for ComponentInstanceTypeId

Available on crate feature component-model only.
Source§

impl TypeIdentifier for ComponentTypeId

Available on crate feature component-model only.
Source§

impl TypeIdentifier for ComponentValueTypeId

Available on crate feature component-model only.
Source§

impl TypeIdentifier for CoreTypeId

Source§

impl TypeIdentifier for RecGroupId