wasmtime_eqref class final

\typedef wasmtime_eqref_t \brief Convenience alias for #wasmtime_eqref

\struct wasmtime_eqref \brief A WebAssembly eqref value.

This structure represents a reference to a GC object that can be tested for equality. The subtypes of eqref include structref, arrayref, and i31ref.

This type has the same representation and ownership semantics as #wasmtime_anyref_t. Values must be explicitly unrooted via #wasmtime_eqref_unroot to enable garbage collection.

Inheritance
Implemented types
Available extensions

Constructors

wasmtime_eqref()

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 tracking within the store, embedders should not configure or modify these fields.
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

Static Methods

$allocate(Allocator $allocator, {required int store_id, required int privateData1, required int privateData2, required Pointer<Void> privateData3}) → Pointer<wasmtime_eqref_t>