Trait wasmer_runtime_core_fl::export::Exportable[][src]

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

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

Required methods

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

Implementors