Enum cretonne_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
I32Const(i32)
An i32.const
.
I64Const(i64)
An i64.const
.
F32Const(u32)
An f32.const
.
F64Const(u64)
An f64.const
.
GlobalRef(GlobalIndex)
A get_global
of another global.
Import()
< The global is imported from, and thus initialized by, a different module.
Trait Implementations
impl Debug for GlobalInit
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GlobalInit
[src]
fn clone(&self) -> GlobalInit
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more