Crate wac_types

Source
Expand description

A library for the definition of WebAssembly component model types.

Structs§

BorrowedPackageKey
A borrowed package key.
CoreFuncType
Represents a core function type in a WebAssembly module.
CoreRefType
Represents the type of a reference in a WebAssembly module.
DefinedTypeId
An identifier for defined value types.
Enum
Represents an enum type.
Flags
Represents a flags type.
FuncType
Represents a function type.
FuncTypeId
An identifier for function types.
Interface
Represents an interface (i.e. instance type).
InterfaceId
An identifier for interfaces.
ModuleType
Represents a core module type.
ModuleTypeId
An identifier for module types.
Package
Represents a WebAssembly component model package.
PackageKey
Represents a package key that can be used in associative containers.
Record
Represents a record type.
Resource
Represents a resource type.
ResourceAlias
Represents information about an aliased resource.
ResourceId
An identifier for resource types.
SubtypeChecker
Implements a subtype checker.
TypeAggregator
Used to aggregate types defined in different Types collections.
Types
Represents a component model types collection.
UsedType
Represents a used type.
Variant
Represents a variant.
World
Represents a world.
WorldId
An identifier for worlds.

Enums§

CoreExtern
Represents a core extern imported or exported from a core module.
CoreType
Represents the value types in a WebAssembly module.
DefinedType
Represents a defined value type.
ExternKind
Represents a kind of an extern item.
FuncKind
Represents a kind of function in the component model.
FuncResult
Represents a function result.
HeapType
A heap type of a reference type.
ItemKind
Represents the kind of a component model item.
PrimitiveType
Represents a primitive type.
SubtypeCheck
Represents the kind of subtyping check to perform.
Type
Represent a component model type.
ValueType
Represents a value type.

Traits§

BorrowedKey
A trait implemented by types that can be borrowed as a package key.