wasmtime_environ::wasmparser::types

Trait TypeIdentifier

Source
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§

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§