Enum wasmtime_environ::wasmparser::types::InstanceTypeKind
source · [−]pub enum InstanceTypeKind {
Defined(HashMap<String, ComponentEntityType, RandomState>),
Instantiated(TypeId),
Exports(HashMap<String, ComponentEntityType, RandomState>),
}
Expand description
Represents the kind of instance type.
Variants
Defined(HashMap<String, ComponentEntityType, RandomState>)
The instance type is from a definition.
Instantiated(TypeId)
The instance type is the result of instantiating a component type.
Exports(HashMap<String, ComponentEntityType, RandomState>)
The instance type is the result of instantiating from exported items.
Trait Implementations
sourceimpl Clone for InstanceTypeKind
impl Clone for InstanceTypeKind
sourcefn clone(&self) -> InstanceTypeKind
fn clone(&self) -> InstanceTypeKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for InstanceTypeKind
impl Send for InstanceTypeKind
impl Sync for InstanceTypeKind
impl Unpin for InstanceTypeKind
impl UnwindSafe for InstanceTypeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more