Enum wasmtime_environ::wasmparser::TypeOrFuncType [−][src]
Expand description
Either a value type or a function type.
Variants
Type(Type)
Tuple Fields
0: Type
A value type.
When used as the type for a block, this type is the optional result
type: [] -> [t?]
.
FuncType(u32)
Tuple Fields
0: u32
A function type (referenced as an index into the types section).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TypeOrFuncType
impl Send for TypeOrFuncType
impl Sync for TypeOrFuncType
impl Unpin for TypeOrFuncType
impl UnwindSafe for TypeOrFuncType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.