[][src]Trait wasmer_runtime_core_asml_fork::export::Exportable

pub trait Exportable<'a>: Sized {
    fn get_self(exports: &'a Exports, name: &str) -> ResolveResult<Self>;
}

This trait is used to mark types as gettable from an [Instance].

Required methods

fn get_self(exports: &'a Exports, name: &str) -> ResolveResult<Self>

Implementation of how to get the export corresponding to the implementing type from an [Instance] by name.

Loading content...

Implementors

impl<'a> Exportable<'a> for Global[src]

impl<'a> Exportable<'a> for DynFunc<'a>[src]

impl<'a> Exportable<'a> for Memory[src]

impl<'a> Exportable<'a> for Table[src]

impl<'a, Args: WasmTypeList, Rets: WasmTypeList> Exportable<'a> for Func<'a, Args, Rets, Wasm>[src]

Loading content...