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
- 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.
- 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
- Parsed
UsePath - Results
- Results
Type Iter - Stability
- Representation of the stability attributes associated with a world, interface, function, or type.
- Type
- Type
DefKind - Type
Owner - World
Item - World
Key - The key to the import/export maps of a world. Either a kebab-name or a unique interface.
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.