pub enum VMExtern {
Function(VMFunction),
Table(VMTable),
Memory(VMMemory),
Global(VMGlobal),
}
Expand description
The value of an export passed from one instance to another.
Variants§
Function(VMFunction)
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<VMFunction> for VMExtern
impl From<VMFunction> for VMExtern
Source§fn from(func: VMFunction) -> Self
fn from(func: VMFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VMExtern
impl !RefUnwindSafe for VMExtern
impl Send for VMExtern
impl Sync for VMExtern
impl Unpin for VMExtern
impl !UnwindSafe for VMExtern
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