wasmtime_component_valtype_union class final

\brief Represents a single value type in the component model.

Inheritance
Implemented types
Available extensions

Properties

address → Pointer<T>

Available on T, provided by the UnionAddress extension

The memory address of the underlying data.
no setter
borrow ↔ Pointer<wasmtime_component_resource_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_BORROW
getter/setter pair
enum_ ↔ Pointer<wasmtime_component_enum_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_ENUM
getter/setter pair
flags ↔ Pointer<wasmtime_component_flags_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_FLAGS
getter/setter pair
future ↔ Pointer<wasmtime_component_future_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_FUTURE
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
list ↔ Pointer<wasmtime_component_list_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_LIST
getter/setter pair
map ↔ Pointer<wasmtime_component_map_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_MAP
getter/setter pair
option ↔ Pointer<wasmtime_component_option_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_OPTION
getter/setter pair
own ↔ Pointer<wasmtime_component_resource_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_OWN
getter/setter pair
record ↔ Pointer<wasmtime_component_record_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_RECORD
getter/setter pair
result ↔ Pointer<wasmtime_component_result_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_RESULT
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stream ↔ Pointer<wasmtime_component_stream_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_STREAM
getter/setter pair
tuple ↔ Pointer<wasmtime_component_tuple_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_TUPLE
getter/setter pair
variant ↔ Pointer<wasmtime_component_variant_type_t>
Field used if #wasmtime_component_valtype_t::kind is #WASMTIME_COMPONENT_VALTYPE_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