wasmtime_stack_memory_t class final
A Stack instance created from a #wasmtime_new_stack_memory_callback_t.
For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/trait.StackMemory.html
- 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 -
env
↔ Pointer<
Void> -
User provided value to be passed to get_memory and grow_memory
getter/setter pair
-
finalizer
↔ Pointer<
NativeFunction< Void Function(Pointer< >Void> )> -
An optional finalizer for env
getter/setter pair
- get_stack_memory ↔ wasmtime_stack_memory_get_callback_t
-
Callback to get the memory and size of this LinearMemory
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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_stack_memory_get_callback_t get_stack_memory, required Pointer<NativeFunction< finalizer}) → Pointer<Void Function(Pointer< >Void> )>wasmtime_stack_memory_t>