Expand description

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

Re-exports

pub use wasmparser;

Macros

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

Structs

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 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 defined memory inside the WebAssembly module.

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

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 inside the WebAssembly module.

WebAssembly function type – equivalent of wasmparser’s FuncType.

Enums

An index of an entity.

A type of an item in a wasm module where an item is typically something that can be exported.

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

A WebAssembly translation error.

WebAssembly value type – equivalent of wasmparser’s Type.

Type Definitions

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