WasmValueKind enum

The kinds of value that can cross the WebAssembly boundary.

Inheritance
Available extensions

Values

i32 → const WasmValueKind
const WasmValueKind(c.WASMTIME_I32, 'i32')
i64 → const WasmValueKind
const WasmValueKind(c.WASMTIME_I64, 'i64')
f32 → const WasmValueKind
const WasmValueKind(c.WASMTIME_F32, 'f32')
f64 → const WasmValueKind
const WasmValueKind(c.WASMTIME_F64, 'f64')
v128 → const WasmValueKind
const WasmValueKind(c.WASMTIME_V128, 'v128')
funcRef → const WasmValueKind
const WasmValueKind(c.WASMTIME_FUNCREF, 'funcref')
externRef → const WasmValueKind
const WasmValueKind(c.WASMTIME_EXTERNREF, 'externref')
anyRef → const WasmValueKind
const WasmValueKind(c.WASMTIME_ANYREF, 'anyref')

Properties

cKind → int
The WASMTIME_* discriminant used by wasmtime_val_t.kind.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isReference → bool
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wasmKind → int
The WASM_* discriminant used by the wasm-c-api's wasm_valtype_t.
no setter
wasmName → String
The WebAssembly name of this type, e.g. i32.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromCKind(int kind) → WasmValueKind
fromWasmKind(int kind) → WasmValueKind
Decodes a WASM_* / wasm_valkind_t discriminant.

Constants

values → const List<WasmValueKind>
A constant List of the values in this enum, in order of their declaration.