Enum wasmtime_types::EntityType [−][src]
pub enum EntityType {
Global(Global),
Memory(Memory),
Tag(Tag),
Table(Table),
Function(SignatureIndex),
Instance(InstanceTypeIndex),
Module(ModuleTypeIndex),
}
Expand description
A type of an item in a wasm module where an item is typically something that can be exported.
Variants
Global(Global)
A global variable with the specified content type
Tuple Fields of Global
0: Global
Memory(Memory)
A linear memory with the specified limits
Tuple Fields of Memory
0: Memory
Tag(Tag)
An event definition.
Tuple Fields of Tag
0: Tag
Table(Table)
A table with the specified element type and limits
Tuple Fields of Table
0: Table
Function(SignatureIndex)
A function type where the index points to the type section and records a function signature.
Tuple Fields of Function
Instance(InstanceTypeIndex)
An instance where the index points to the type section and records a instance’s exports.
Tuple Fields of Instance
Module(ModuleTypeIndex)
A module where the index points to the type section and records a module’s imports and exports.
Tuple Fields of Module
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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