Module mem

Source
Expand description

Useful data types, functions and traits for interacting with the memory of a crate::Instance.

Re-exports§

pub use ptr::*;

Modules§

access 🔒
ptr 🔒

Structs§

Memory32
Marker trait for 32-bit memories.
Memory64
Marker trait for 64-bit memories.
WasmRef
Reference to a value in Wasm memory.
WasmSlice
Reference to an array of values in Wasm memory.
WasmSliceIter
Iterator over the elements of a WasmSlice.

Enums§

MemoryAccessError
Error for invalid Memory access.

Traits§

MemorySize
Trait for the Memory32 and Memory64 marker types.
ValueType
Trait for a Value type. A Value type is a type that is always valid and may be safely copied.