wasmtime_valunion class final
\typedef wasmtime_valunion_t \brief Convenience alias for #wasmtime_valunion
\union wasmtime_valunion \brief Container for different kinds of wasm values.
This type is contained in #wasmtime_val_t and contains the payload for the various kinds of items a value can be.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the UnionAddress extension
The memory address of the underlying data.no setter - anyref ↔ wasmtime_anyref_t
-
Field used if #wasmtime_val_t::kind is #WASMTIME_ANYREF
getter/setter pair
- exnref ↔ wasmtime_exnref_t
-
Field used if #wasmtime_val_t::kind is #WASMTIME_EXNREF
getter/setter pair
- externref ↔ wasmtime_externref_t
-
Field used if #wasmtime_val_t::kind is #WASMTIME_EXTERNREF
getter/setter pair
- f32 ↔ double
-
Field used if #wasmtime_val_t::kind is #WASMTIME_F32
getter/setter pair
- f64 ↔ double
-
Field used if #wasmtime_val_t::kind is #WASMTIME_F64
getter/setter pair
- funcref ↔ wasmtime_func_t
-
Field used if #wasmtime_val_t::kind is #WASMTIME_FUNCREF
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- i32 ↔ int
-
Field used if #wasmtime_val_t::kind is #WASMTIME_I32
getter/setter pair
- i64 ↔ int
-
Field used if #wasmtime_val_t::kind is #WASMTIME_I64
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
v128
↔ Array<
Uint8> -
Field used if #wasmtime_val_t::kind is #WASMTIME_V128
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited