[][src]Trait wasmparser::WasmType

pub trait WasmType: PartialEq<Type> + PartialEq + Eq {
    fn to_parser_type(&self) -> Type;
}

Types that qualify as Wasm types for validation purposes.

Must be comparable with wasmparser given Wasm types and must be comparable to themselves.

Required methods

fn to_parser_type(&self) -> Type

Converts the custom type into a wasmparser known type.

Note

This interface is required as bridge until transitioning is complete.

Loading content...

Implementors

impl WasmType for Type[src]

Loading content...