Enum cretonne_wasm::GlobalVariable[][src]

pub enum GlobalVariable {
    Const(Value),
    Memory {
        gv: GlobalValue,
        ty: Type,
    },
}

The value of a WebAssembly global variable.

Variants

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.

Fields of Memory

The address of the global variable storage.

The global variable's type.

Trait Implementations

impl Clone for GlobalVariable
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for GlobalVariable
[src]

Auto Trait Implementations