wasmtime_component_item_union class final
\brief Represents a single item in a component's import or export list.
- 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 -
component
↔ Pointer<
wasmtime_component_type_t> -
Field used if #wasmtime_component_item_t::kind is
#WASMTIME_COMPONENT_ITEM_COMPONENT
getter/setter pair
-
component_func
↔ Pointer<
wasmtime_component_func_type_t> -
Field used if #wasmtime_component_item_t::kind is
#WASMTIME_COMPONENT_ITEM_COMPONENT_FUNC
getter/setter pair
-
component_instance
↔ Pointer<
wasmtime_component_instance_type_t> -
Field used if #wasmtime_component_item_t::kind is
#WASMTIME_COMPONENT_ITEM_COMPONENT_INSTANCE
getter/setter pair
-
core_func
↔ Pointer<
wasm_functype_t> -
Field used if #wasmtime_component_item_t::kind is
#WASMTIME_COMPONENT_ITEM_CORE_FUNC
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
module
↔ Pointer<
wasmtime_module_type_t> -
Field used if #wasmtime_component_item_t::kind is
#WASMTIME_COMPONENT_ITEM_MODULE
getter/setter pair
-
resource
↔ Pointer<
wasmtime_component_resource_type_t> -
Field used if #wasmtime_component_item_t::kind is
#WASMTIME_COMPONENT_ITEM_RESOURCE
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ wasmtime_component_valtype_t
-
Field used if #wasmtime_component_item_t::kind is
#WASMTIME_COMPONENT_ITEM_TYPE
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