Enum wasm_encoder::EntityType [−][src]
pub enum EntityType {
Function(u32),
Table(TableType),
Memory(MemoryType),
Global(GlobalType),
Tag(TagType),
Instance(u32),
Module(u32),
}
Expand description
The type of an entity.
Variants
Function(u32)
Tuple Fields
0: u32
The n
th type, which is a function.
Table(TableType)
Tuple Fields
0: TableType
A table type.
Memory(MemoryType)
Tuple Fields
0: MemoryType
A memory type.
Global(GlobalType)
Tuple Fields
0: GlobalType
A global type.
Tag(TagType)
Tuple Fields
0: TagType
A tag type.
Instance(u32)
Tuple Fields
0: u32
The n
th type, which is an instance.
Module(u32)
Tuple Fields
0: u32
The n
th type, which is a module.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EntityType
impl Send for EntityType
impl Sync for EntityType
impl Unpin for EntityType
impl UnwindSafe for EntityType
Blanket Implementations
Mutably borrows from an owned value. Read more