[][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
{ 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 wit_record_by_id(&self, index: u32) -> Option<&RecordType>;
fn wit_record_by_name(&self, name: &str) -> Option<&RecordType>; }

Required methods

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 wit_record_by_id(&self, index: u32) -> Option<&RecordType>

fn wit_record_by_name(&self, name: &str) -> Option<&RecordType>

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...