wasmtime_stack_creator_t class final

A representation of custom stack creator.

For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/trait.StackCreator.html

Inheritance
Implemented types
Available extensions

Constructors

wasmtime_stack_creator_t()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
env ↔ Pointer<Void>
User provided value to be passed to new_stack
getter/setter pair
finalizer ↔ Pointer<NativeFunction<Void Function(Pointer<Void>)>>
An optional finalizer for env.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
new_stack ↔ wasmtime_new_stack_memory_callback_t
The callback to create a new stack, must be thread safe
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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 Pointer<Void> env, required wasmtime_new_stack_memory_callback_t new_stack, required Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer}) → Pointer<wasmtime_stack_creator_t>