Enum wasmparser::TypeOrFuncType [−][src]
Either a value type or a function type.
Variants
Type(Type)
A value type.
When used as the type for a block, this type is the optional result
type: [] -> [t?]
.
FuncType(u32)
A function type (referenced as an index into the types section).
Trait Implementations
impl Clone for TypeOrFuncType
[src]
impl Clone for TypeOrFuncType
[src]fn clone(&self) -> TypeOrFuncType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TypeOrFuncType
[src]
impl Copy for TypeOrFuncType
[src]impl Eq for TypeOrFuncType
[src]
impl Eq for TypeOrFuncType
[src]impl PartialEq<TypeOrFuncType> for TypeOrFuncType
[src]
impl PartialEq<TypeOrFuncType> for TypeOrFuncType
[src]fn eq(&self, other: &TypeOrFuncType) -> bool
[src]
fn ne(&self, other: &TypeOrFuncType) -> bool
[src]
impl StructuralEq for TypeOrFuncType
[src]
impl StructuralEq for TypeOrFuncType
[src]impl StructuralPartialEq for TypeOrFuncType
[src]
impl StructuralPartialEq for TypeOrFuncType
[src]Auto Trait Implementations
impl RefUnwindSafe for TypeOrFuncType
impl RefUnwindSafe for TypeOrFuncType
impl Send for TypeOrFuncType
impl Send for TypeOrFuncType
impl Sync for TypeOrFuncType
impl Sync for TypeOrFuncType
impl Unpin for TypeOrFuncType
impl Unpin for TypeOrFuncType
impl UnwindSafe for TypeOrFuncType
impl UnwindSafe for TypeOrFuncType