cranelift_wasm::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.

Object Safety§

This trait is not object safe.

Implementors§