[][src]Module wasmer_runtime::types

Types used in the Wasm runtime and conversion functions.

Structs

ExportDescriptor

A descriptor for an exported WebAssembly value.

FuncDescriptor

The signature of a function that is either implemented in a Wasm module or exposed to Wasm by the host.

FuncIndex

Index type of a function (imported or local) inside the WebAssembly module.

FuncSig

The signature of a function that is either implemented in a Wasm module or exposed to Wasm by the host.

GlobalDescriptor

Describes the mutability and type of a Global

GlobalIndex

Index type of a global variable (imported or local) inside the WebAssembly module.

ImportDescriptor

A descriptor for an imported value into a wasm module.

ImportedFuncIndex

Index type of a function (imported or local) inside the WebAssembly module.

ImportedGlobalIndex

Index type of a global variable (imported or local) inside the WebAssembly module.

ImportedMemoryIndex

Index type of a linear memory (imported or local) inside the WebAssembly module.

ImportedTableIndex

Index type of a table (imported or local) inside the WebAssembly module.

LocalFuncIndex

Index type of a function defined locally inside the WebAssembly module.

LocalGlobalIndex

Index type of a global defined locally inside the WebAssembly module.

LocalMemoryIndex

Index type of a memory defined locally inside the WebAssembly module.

LocalTableIndex

Index type of a table defined locally inside the WebAssembly module.

MemoryDescriptor

A descriptor for a WebAssembly memory type.

MemoryIndex

Index type of a linear memory (imported or local) inside the WebAssembly module.

SigIndex

Index type of a signature (imported or local) inside the WebAssembly module.

TableDescriptor

A descriptor for a table in a WebAssembly module.

TableIndex

Index type of a table (imported or local) inside the WebAssembly module.

Enums

ExternDescriptor

A list of all possible types which can be externally referenced from a WebAssembly module.

GlobalInit

Globals are initialized via the const operators or by referring to another import.

Type

A list of all possible value types in WebAssembly.

Traits

NativeWasmType

NativeWasmType represents a Wasm type that has a direct representation on the host (hence the “native” term).

ValueType

Trait for a Value type. A Value type is a type that is always valid and may be safely copied.

WasmExternType

A trait to convert a Rust value to a WasmNativeType value, or to convert WasmNativeType value to a Rust value.

Type Definitions

Value

WebAssembly computations manipulate values of basic value types: