pub enum Instance {
Static(StaticModuleIndex, Box<[CoreDef]>),
Import(RuntimeImportIndex, IndexMap<String, IndexMap<String, CoreDef>>),
}
Expand description
Same as info::InstantiateModule
Variants§
Static(StaticModuleIndex, Box<[CoreDef]>)
Import(RuntimeImportIndex, IndexMap<String, IndexMap<String, CoreDef>>)
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more