Enum wasmtime_runtime::Export
source · pub enum Export {
Function(ExportFunction),
Table(ExportTable),
Memory(ExportMemory),
Global(ExportGlobal),
}
Expand description
The value of an export passed from one instance to another.
Variants
Function(ExportFunction)
A function export value.
Table(ExportTable)
A table export value.
Memory(ExportMemory)
A memory export value.
Global(ExportGlobal)
A global export value.
Trait Implementations
sourceimpl From<ExportFunction> for Export
impl From<ExportFunction> for Export
sourcefn from(func: ExportFunction) -> Export
fn from(func: ExportFunction) -> Export
Converts to this type from the input type.
sourceimpl From<ExportGlobal> for Export
impl From<ExportGlobal> for Export
sourcefn from(func: ExportGlobal) -> Export
fn from(func: ExportGlobal) -> Export
Converts to this type from the input type.
sourceimpl From<ExportMemory> for Export
impl From<ExportMemory> for Export
sourcefn from(func: ExportMemory) -> Export
fn from(func: ExportMemory) -> Export
Converts to this type from the input type.
sourceimpl From<ExportTable> for Export
impl From<ExportTable> for Export
sourcefn from(func: ExportTable) -> Export
fn from(func: ExportTable) -> Export
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnwindSafe for Export
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more