wasmtime_linear_memory class final
A LinearMemory instance created from a #wasmtime_new_memory_callback_t.
For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/trait.LinearMemory.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_memory ↔ wasmtime_memory_get_callback_t
-
Callback to get the memory and size of this LinearMemory
getter/setter pair
- grow_memory ↔ wasmtime_memory_grow_callback_t
-
Callback to request growing the memory
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_memory_get_callback_t get_memory, required wasmtime_memory_grow_callback_t grow_memory, required Pointer<NativeFunction< finalizer}) → Pointer<Void Function(Pointer< >Void> )>wasmtime_linear_memory_t>