Trait wasmer_interface_types_fl::interpreter::wasm::structures::Instance[][src]

pub trait Instance<E, LI, M, MV> where
    E: Export,
    LI: LocalImport,
    M: Memory<MV>,
    MV: MemoryView
{ fn export(&self, export_name: &str) -> Option<&E>;
fn local_or_import<I: TypedIndex + LocalImportIndex>(
        &self,
        index: I
    ) -> Option<&LI>;
fn memory(&self, index: usize) -> Option<&M>;
fn memory_slice(&self, index: usize) -> Option<&[Cell<u8>]>;
fn wit_record_by_id(&self, index: u64) -> Option<&Rc<IRecordType>>; }

Required methods

Implementations on Foreign Types

Implementors