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