Modules§
Structs§
- Architecture
Size - Architecture specific measurement of position,
the combined amount in bytes is
bytes + pointers * core::mem::size_of::<*const u8>()
- Case
- Docs
- Element
Info - Information per structure element
- Enum
- Enum
Case - Field
- Flag
- Flags
- Function
- Include
Name - Interface
- Invalid
Transitive Dependency - An error that can be returned during “world elaboration” during various
Resolve
operations. - Live
Types - Package
- A WIT package within a
Resolve
. - Package
Metadata - Represents serializable doc comments parsed from a WIT package.
- Package
Name - A structure used to keep track of the name of a package, containing optional information such as a namespace and version information.
- Package
Source Map - All the sources used during resolving a directory or path.
- Record
- Remap
- Structure returned by
Resolve::merge
which contains mappings from old-ids to new-ids after the merge. - Resolve
- Representation of a fully resolved set of WIT packages.
- Result_
- Size
Align - Collect size and alignment for sub-elements of a structure
- Source
Map - A listing of source files which are used to get parsed into an
[
UnresolvedPackage
]. - Stream
- Tuple
- TypeDef
- Unresolved
Package - Representation of a parsed WIT package which has not resolved external dependencies yet.
- Unresolved
Package Group - Tracks a set of packages, all pulled from the same group of WIT source files.
- Variant
- World
Enums§
- Alignment
- Architecture specific alignment
- AstItem
- Flags
Repr - Function
Kind - Handle
- Int
- Mangling
- Possible forms of name mangling that are supported by this crate.
- Parsed
UsePath - Resource
Intrinsic - Intrinsic definitions to go with
WasmImport::ResourceIntrinsic
which also goes withResolve::wasm_import_name
. - Results
- Results
Type Iter - Stability
- Representation of the stability attributes associated with a world, interface, function, or type.
- Type
- Type
DefKind - Type
Owner - Wasm
Export - Different kinds of exports that can be passed to
Resolve::wasm_export_name
to export from core wasm modules. - Wasm
Import - Possible imports that can be passed to
Resolve::wasm_import_name
. - World
Item - World
Key - The key to the import/export maps of a world. Either a kebab-name or a unique interface.
Traits§
- Type
IdVisitor - Helper trait to walk the structure of a type and visit all
TypeId
s that it refers to, possibly transitively.
Functions§
- align_
to_ arch - Increase
val
to a multiple ofalign
, with special handling for pointers;align
must be a power of two orAlignment::Pointer
- parse_
use_ path - validate_
id - Checks if the given string is a legal identifier in wit.