Enum wasmtime_environ::wasmparser::types::InterfaceType
source · pub enum InterfaceType {
Primitive(PrimitiveInterfaceType),
Record(RecordType),
Variant(VariantType),
List(InterfaceTypeRef),
Tuple(TupleType),
Flags(IndexSet<String, RandomState>),
Enum(IndexSet<String, RandomState>),
Union(UnionType),
Option(InterfaceTypeRef),
Expected(InterfaceTypeRef, InterfaceTypeRef),
}
Expand description
Represents an interface type.
Variants§
Primitive(PrimitiveInterfaceType)
The type is a primitive interface type.
Record(RecordType)
The type is a record.
Variant(VariantType)
The type is a variant.
List(InterfaceTypeRef)
The type is a list.
Tuple(TupleType)
The type is a tuple.
Flags(IndexSet<String, RandomState>)
The type is a set of flags.
Enum(IndexSet<String, RandomState>)
The type is an enumeration.
Union(UnionType)
The type is a union.
Option(InterfaceTypeRef)
The type is an option
.
Expected(InterfaceTypeRef, InterfaceTypeRef)
The type is an expected
.
Trait Implementations§
source§impl Clone for InterfaceType
impl Clone for InterfaceType
source§fn clone(&self) -> InterfaceType
fn clone(&self) -> InterfaceType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more