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

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

Required methods

pub fn export(&self, export_name: &str) -> Option<&E>[src]

pub fn local_or_import<I: TypedIndex + LocalImportIndex>(
    &self,
    index: I
) -> Option<&LI>
[src]

pub fn memory(&self, index: usize) -> Option<&M>[src]

pub fn wit_record_by_id(&self, index: u64) -> Option<&Rc<IRecordType>>[src]

Loading content...

Implementations on Foreign Types

impl<E, LI, M, MV> Instance<E, LI, M, MV> for () where
    E: Export,
    LI: LocalImport,
    M: Memory<MV>,
    MV: MemoryView
[src]

Loading content...

Implementors

Loading content...