Enum cranelift_wasm::GlobalInit[][src]

pub enum GlobalInit {
    I32Const(i32),
    I64Const(i64),
    F32Const(u32),
    F64Const(u64),
    GlobalRef(GlobalIndex),
    Import(),
}

Globals are initialized via the four const operators or by referring to another import.

Variants

An i32.const.

An i64.const.

An f32.const.

An f64.const.

A get_global of another global.

< The global is imported from, and thus initialized by, a different module.

Trait Implementations

impl Debug for GlobalInit
[src]

Formats the value using the given formatter. Read more

impl Clone for GlobalInit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for GlobalInit
[src]

Auto Trait Implementations

impl Send for GlobalInit

impl Sync for GlobalInit