Enum wast::TypeDef [−][src]
pub enum TypeDef<'a> {
Func(FunctionType<'a>),
Struct(StructType<'a>),
Array(ArrayType<'a>),
Module(ModuleType<'a>),
Instance(InstanceType<'a>),
}
Expand description
A definition of a type.
Variants
Func(FunctionType<'a>)
A function type definition.
Tuple Fields of Func
0: FunctionType<'a>
Struct(StructType<'a>)
A struct type definition.
Tuple Fields of Struct
0: StructType<'a>
Array(ArrayType<'a>)
An array type definition.
Tuple Fields of Array
0: ArrayType<'a>
Module(ModuleType<'a>)
A module type definition.
Tuple Fields of Module
0: ModuleType<'a>
Instance(InstanceType<'a>)
An instance type definition.
Tuple Fields of Instance
0: InstanceType<'a>