Enum unc_vm_vm::VMImportType
source · pub enum VMImportType {
Function {
sig: VMSharedSignatureIndex,
static_trampoline: VMTrampoline,
},
Global(GlobalType),
Table(TableType),
Memory(MemoryType, MemoryStyle),
}
Expand description
Type of the import.
Variants§
Function
Fields
§
sig: VMSharedSignatureIndex
Signature for the function import.
§
static_trampoline: VMTrampoline
Trampoline to use for functions that use [VMFunctionKind::Static
].
A function import.
Global(GlobalType)
A global.
Table(TableType)
A table.
Memory(MemoryType, MemoryStyle)
Some memory.
Auto Trait Implementations§
impl RefUnwindSafe for VMImportType
impl Send for VMImportType
impl Sync for VMImportType
impl Unpin for VMImportType
impl UnwindSafe for VMImportType
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§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