pub enum ModuleInstanceTypeKind {
Instantiated(TypeId),
Exports(HashMap<String, EntityType, RandomState>),
}
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, RandomState>)
The instance type is the result of instantiating from exported items.
Trait Implementations
sourceimpl Clone for ModuleInstanceTypeKind
impl Clone for ModuleInstanceTypeKind
sourcefn clone(&self) -> ModuleInstanceTypeKind
fn clone(&self) -> ModuleInstanceTypeKind
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 ModuleInstanceTypeKind
impl Send for ModuleInstanceTypeKind
impl Sync for ModuleInstanceTypeKind
impl Unpin for ModuleInstanceTypeKind
impl UnwindSafe for ModuleInstanceTypeKind
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