pub enum Export {
Function(ExportFunction),
Table(VMTable),
Memory(VMMemory),
Global(VMGlobal),
}
Expand description
The value of an export passed from one instance to another.
Variants§
Function(ExportFunction)
A function export value.
Table(VMTable)
A table export value.
Memory(VMMemory)
A memory export value.
Global(VMGlobal)
A global export value.
Trait Implementations§
Source§impl From<ExportFunction> for Export
impl From<ExportFunction> for Export
Source§fn from(func: ExportFunction) -> Self
fn from(func: ExportFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Export
impl !RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl !UnwindSafe for Export
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Upcastable for T
impl<T> Upcastable for T
Source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
Source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref