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: u32The nth type, which is a function.
Table(TableType)
Tuple Fields
0: TableTypeA table type.
Memory(MemoryType)
Tuple Fields
0: MemoryTypeA memory type.
Global(GlobalType)
Tuple Fields
0: GlobalTypeA global type.
Tag(TagType)
Tuple Fields
0: TagTypeA tag type.
Instance(u32)
Tuple Fields
0: u32The nth type, which is an instance.
Module(u32)
Tuple Fields
0: u32The nth 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
