Enum golem_wasm_ast::component::Instance
source · pub enum Instance {
Instantiate {
module_idx: ModuleIdx,
args: Vec<InstantiationArg>,
},
FromExports {
exports: Vec<Export>,
},
}
Variants§
Trait Implementations§
source§impl From<&Instance> for InstanceSection
impl From<&Instance> for InstanceSection
source§impl PartialEq for Instance
impl PartialEq for Instance
source§impl Section<ComponentIndexSpace, ComponentSectionType> for Instance
impl Section<ComponentIndexSpace, ComponentSectionType> for Instance
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
impl Eq for Instance
impl StructuralPartialEq for Instance
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.