Struct wasmtime_runtime::VMMemoryImport [−][src]
#[repr(C)]pub struct VMMemoryImport {
pub from: *mut VMMemoryDefinition,
pub vmctx: *mut VMContext,
}
Expand description
The fields compiled code needs to access to utilize a WebAssembly linear memory imported from another instance.
Fields
from: *mut VMMemoryDefinition
A pointer to the imported memory description.
vmctx: *mut VMContext
A pointer to the VMContext
that owns the memory description.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VMMemoryImport
impl Unpin for VMMemoryImport
impl UnwindSafe for VMMemoryImport
Blanket Implementations
Mutably borrows from an owned value. Read more