Enum wasmtime_environ::ModuleType [−][src]
pub enum ModuleType {
Function(SignatureIndex),
Module(ModuleTypeIndex),
Instance(InstanceTypeIndex),
}Expand description
Different types that can appear in a module.
Note that each of these variants are intended to index further into a separate table.
Variants
Function(SignatureIndex)Module(ModuleTypeIndex)Instance(InstanceTypeIndex)Implementations
Asserts this is a ModuleType::Function, returning the underlying
SignatureIndex.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ModuleTypeimpl Send for ModuleTypeimpl Sync for ModuleTypeimpl Unpin for ModuleTypeimpl UnwindSafe for ModuleTypeBlanket Implementations
Mutably borrows from an owned value. Read more