Enum wasmparser::types::ModuleInstanceTypeKind
source · pub enum ModuleInstanceTypeKind {
Instantiated(TypeId),
Exports(HashMap<String, EntityType>),
}
Expand description
Represents the kind of module instance type.
Variants§
Instantiated(TypeId)
The instance type is the result of instantiating a module type.
Exports(HashMap<String, EntityType>)
The instance type is the result of instantiating from exported items.
Trait Implementations§
source§impl Clone for ModuleInstanceTypeKind
impl Clone for ModuleInstanceTypeKind
source§fn clone(&self) -> ModuleInstanceTypeKind
fn clone(&self) -> ModuleInstanceTypeKind
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 more