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)
The n
th type, which is a function.
Tuple Fields of Function
0: u32
Table(TableType)
A table type.
Tuple Fields of Table
0: TableType
Memory(MemoryType)
A memory type.
Tuple Fields of Memory
0: MemoryType
Global(GlobalType)
A global type.
Tuple Fields of Global
0: GlobalType
Tag(TagType)
A tag type.
Tuple Fields of Tag
0: TagType
Instance(u32)
The n
th type, which is an instance.
Tuple Fields of Instance
0: u32
Module(u32)
The n
th type, which is a module.
Tuple Fields of Module
0: u32
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