Enum wasmtime_environ::wasm::GlobalVariable  [−][src]
pub enum GlobalVariable {
    Const(Value),
    Memory {
        gv: GlobalValue,
        offset: Offset32,
        ty: Type,
    },
    Custom,
}The value of a WebAssembly global variable.
Variants
Const(Value)This is a constant global with a value known at compile time.
This is a variable in memory that should be referenced through a GlobalValue.
Show fields
Fields of Memory
gv: GlobalValueThe address of the global variable storage.
offset: Offset32An offset to add to the address.
ty: TypeThe global variable’s type.
This is a global variable that needs to be handled by the environment.
Trait Implementations
impl Clone for GlobalVariable[src]
impl Clone for GlobalVariable[src]