Crate wasmtime_types

source ·
Expand description

Internal dependency of Wasmtime and Cranelift that defines types for WebAssembly.

Re-exports§

Modules§

  • Rust module prelude for Wasmtime crates.

Macros§

  • Return an Err(WasmError::Unsupported(msg)) where msg the string built by calling format! on the arguments to this macro.

Structs§

  • A constant expression.
  • Index type of a passive data segment inside the WebAssembly module.
  • Index type of a defined function inside the WebAssembly module.
  • Index type of a defined global inside the WebAssembly module.
  • Index type of a defined memory inside the WebAssembly module.
  • Index type of a defined table inside the WebAssembly module.
  • Index type of a passive element segment inside the WebAssembly module.
  • Index type of a canonicalized recursive type group inside the whole engine (as opposed to canonicalized within just a single Wasm module).
  • Index type of a function (imported or defined) inside the WebAssembly module.
  • A WebAssembly global.
  • Index type of a global variable (imported or defined) inside the WebAssembly module.
  • WebAssembly linear memory.
  • Index type of a linear memory (imported or defined) inside the WebAssembly module.
  • Index type of a canonicalized recursive type group inside a WebAssembly module (as opposed to canonicalized within the whole engine).
  • A canonicalized type index for a type within a single WebAssembly module.
  • Index type of a defined memory inside the WebAssembly module.
  • A canonicalized type index referencing a type within a single recursion group from another type within that same recursion group.
  • Index into the global list of modules found within an entire component.
  • WebAssembly table.
  • Index type of a table (imported or defined) inside the WebAssembly module.
  • WebAssembly event.
  • Index type of an event inside the WebAssembly module.
  • Index type of a type (imported or defined) inside the WebAssembly module.
  • A canonicalized type index into an engine’s shared type registry.
  • A concrete array type.
  • The type of a struct field or array element.
  • WebAssembly function type – equivalent of wasmparser’s FuncType.
  • A recursive type group.
  • WebAssembly reference type – equivalent of wasmparser’s RefType
  • A concrete struct type.
  • A concrete, user-defined (or host-defined) Wasm type.

Enums§

Constants§

Traits§

  • Helpers used to convert a wasmparser type to a type in this crate.
  • A trait for things that can trace all type-to-type edges, aka all type indices within this thing.

Type Aliases§

  • A convenient alias for a Result that uses WasmError as the error type.