unionstd.wasm.InitExpression[src]

Initialization expressions are used to set the initial value on an object when a wasm module is being loaded.

Fields

i32_const: i32
i64_const: i64
f32_const: f32
f64_const: f64
global_get: u32

Source Code

Source code
pub const InitExpression = union(enum) {
    i32_const: i32,
    i64_const: i64,
    f32_const: f32,
    f64_const: f64,
    global_get: u32,
}