[][src]Module wasmer_runtime_core_fl::memory::ptr

Types for a reusable pointer abstraction for accessing Wasm linear memory.

This abstraction is safe: it ensures the memory is in bounds and that the pointer is aligned (avoiding undefined behavior).

Therefore, you should use this abstraction whenever possible to avoid memory related bugs when implementing an ABI.

Structs

Array

The Array marker type. This type can be used like WasmPtr<T, Array> to get access to methods

Item

The Item marker type. This is the default and does not usually need to be specified.

WasmPtr

A zero-cost type that represents a pointer to something in Wasm linear memory.