Enum wasm_encoder::EntityType [−][src]
pub enum EntityType {
Function(u32),
Table(TableType),
Memory(MemoryType),
Global(GlobalType),
Instance(u32),
Module(u32),
}Expand description
The type of an entity.
Variants
The nth type, which is a function.
Tuple Fields of Function
0: u32A table type.
Tuple Fields of Table
0: TableTypeA memory type.
Tuple Fields of Memory
0: MemoryTypeA global type.
Tuple Fields of Global
0: GlobalTypeThe nth type, which is an instance.
Tuple Fields of Instance
0: u32The nth type, which is a module.
Tuple Fields of Module
0: u32Trait 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