wasmtime_component_valunion_t class final
\brief Represents possible runtime values which a component function can either consume or produce
- 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 - boolean ↔ bool
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_BOOL
getter/setter pair
- character ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_CHAR
getter/setter pair
- enumeration ↔ wasm_name_t
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_ENUM
getter/setter pair
- f32 ↔ double
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_F32
getter/setter pair
- f64 ↔ double
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_F64
getter/setter pair
- flags ↔ wasmtime_component_valflags_t
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_FLAGS
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- list ↔ wasmtime_component_vallist_t
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_LIST
getter/setter pair
- map ↔ wasmtime_component_valmap_t
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_MAP
getter/setter pair
-
option
↔ Pointer<
wasmtime_component_val_t> -
Field used if #wasmtime_component_val_t::kind is
#WASMTIME_COMPONENT_OPTION
getter/setter pair
- record ↔ wasmtime_component_valrecord_t
-
Field used if #wasmtime_component_val_t::kind is
#WASMTIME_COMPONENT_RECORD
getter/setter pair
-
resource
↔ Pointer<
wasmtime_component_resource_any_t> -
Field used if #wasmtime_component_val_t::kind is
#WASMTIME_COMPONENT_RESOURCE
getter/setter pair
- result ↔ wasmtime_component_valresult_t
-
Field used if #wasmtime_component_val_t::kind is
#WASMTIME_COMPONENT_RESULT
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- s16 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_S16
getter/setter pair
- s32 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_S32
getter/setter pair
- s64 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_S64
getter/setter pair
- s8 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_S8
getter/setter pair
- string ↔ wasm_name_t
-
Field used if #wasmtime_component_val_t::kind is
#WASMTIME_COMPONENT_STRING
getter/setter pair
- tuple ↔ wasmtime_component_valtuple_t
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_TUPLE
getter/setter pair
- u16 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_U16
getter/setter pair
- u32 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_U32
getter/setter pair
- u64 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_U64
getter/setter pair
- u8 ↔ int
-
Field used if #wasmtime_component_val_t::kind is #WASMTIME_COMPONENT_U8
getter/setter pair
- variant ↔ wasmtime_component_valvariant_t
-
Field used if #wasmtime_component_val_t::kind is
#WASMTIME_COMPONENT_VARIANT
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