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