Struct wasmtime_runtime::VMGlobalImport [−][src]
#[repr(C)]pub struct VMGlobalImport {
pub from: *mut VMGlobalDefinition,
}
Expand description
The fields compiled code needs to access to utilize a WebAssembly global variable imported from another instance.
Note that unlike with functions, tables, and memories, VMGlobalImport
doesn’t include a vmctx
pointer. Globals are never resized, and don’t
require a vmctx
pointer to access.
Fields
from: *mut VMGlobalDefinition
A pointer to the imported global variable description.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VMGlobalImport
impl Unpin for VMGlobalImport
impl UnwindSafe for VMGlobalImport
Blanket Implementations
Mutably borrows from an owned value. Read more