Struct wasmtime_runtime::ExportGlobal
source · pub struct ExportGlobal {
pub definition: *mut VMGlobalDefinition,
pub vmctx: *mut VMContext,
pub global: Global,
}Expand description
A global export value.
Fields§
§definition: *mut VMGlobalDefinitionThe address of the global storage.
vmctx: *mut VMContextPointer to a VMContext which has a lifetime at least as long as the
global. This may not be the VMContext which defines the global.
global: GlobalThe global declaration, used for compatibilty checking.
Trait Implementations§
source§impl Clone for ExportGlobal
impl Clone for ExportGlobal
source§fn clone(&self) -> ExportGlobal
fn clone(&self) -> ExportGlobal
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ExportGlobal
impl Debug for ExportGlobal
source§impl From<ExportGlobal> for Export
impl From<ExportGlobal> for Export
source§fn from(func: ExportGlobal) -> Export
fn from(func: ExportGlobal) -> Export
Converts to this type from the input type.