Enum wasmtime_environ::ModuleType 
source · pub enum ModuleType {
    Function(SignatureIndex),
}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)
Implementations§
source§impl ModuleType
 
impl ModuleType
sourcepub fn unwrap_function(&self) -> SignatureIndex
 
pub fn unwrap_function(&self) -> SignatureIndex
Asserts this is a ModuleType::Function, returning the underlying
SignatureIndex.
Trait Implementations§
source§impl Clone for ModuleType
 
impl Clone for ModuleType
source§fn clone(&self) -> ModuleType
 
fn clone(&self) -> ModuleType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ModuleType
 
impl Debug for ModuleType
source§impl<'de> Deserialize<'de> for ModuleType
 
impl<'de> Deserialize<'de> for ModuleType
source§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