wasmtime_structref class final
\typedef wasmtime_structref_t \brief Convenience alias for #wasmtime_structref
\struct wasmtime_structref
\brief A WebAssembly structref value.
This structure represents a reference to a GC struct. It is a subtype of
eqref and anyref.
Values must be explicitly unrooted via #wasmtime_structref_unroot.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- privateData1 ↔ int
-
Internal to Wasmtime.
getter/setter pair
- privateData2 ↔ int
-
Internal to Wasmtime.
getter/setter pair
-
privateData3
↔ Pointer<
Void> -
Internal to Wasmtime.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store_id ↔ int
-
Internal metadata.
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