Crate core

Source
Expand description

Definitions from the wasmi_core crate.

Modules§

hint
simd
Defines the entire Wasm simd proposal API.
wasm
Execution helpers for Wasm or Wasmi instructions.

Structs§

F32
A 32-bit f32 type.
F64
A 64-bit f64 type.
Trap
Error type which can be returned by Wasm code or by the host environment.
TypedVal
An UntypedVal with its assumed ValType.
UntypedVal
An untyped value.
V128
The Wasm simd proposal’s v128 type.

Enums§

TrapCode
Error type which can be thrown by wasm code or by host environment.
UntypedError
An error that may occur upon encoding or decoding slices of UntypedVal.
ValType
Type of a value.

Traits§

DecodeUntypedSlice
Tuple types that allow to decode a slice of UntypedVal.
EncodeUntypedSlice
Tuple types that allow to encode a slice of UntypedVal.
HostError
Trait that allows the host to return custom error.
ReadAs
Implemented by types that can be read (or decoded) as T.
Typed
Types that are associated to a static Wasm type.
WriteAs
Implemented by types that can be written to (or encoded) as T.