Crate witnext[−][src]
Modules
parser | Witx syntax parsing from SExprs |
Structs
Buffer | |
Case | One of a number of possible types that a |
Constant | |
Filesystem | |
Function | |
HandleDatatype | |
Id | |
Location | Location in the source text |
MockFs | |
Module | |
ModuleId | |
ModuleValidation | |
NamedType | |
Param | |
RecordDatatype | A struct-like value with named fields. |
RecordMember | |
RecordMemberLayout | |
Resource | |
ResourceId | A unique id used to determine whether two handles are nominally referring to the same resource. |
SizeAlign | |
Variant | A type which represents how values can be one of a set of possible cases. |
WasmSignature | A raw WebAssembly signature with params and results. |
Enums
Abi | Possible ABIs for interface functions to have. |
Bitcast | |
BuiltinType | |
CallMode | Modes of calling a WebAssembly or host function. |
Instruction | |
IntRepr | |
RecordKind | Different kinds of records used for hinting various language-specific types. |
Type | Structure of all possible interface types. |
TypeRef | |
ValidationError | |
WasmType | Enumerates wasm types used by interface types when lowering/lifting. |
WitxError | |
WitxInstruction |
Traits
Bindgen | Trait for language implementors to use to generate glue code between native WebAssembly signatures and interface types signatures. |
Layout | |
WitxIo |
Functions
document | |
load | Load a witx document from the filesystem |
parse | Parse a witx document from a str. |