Available on crate feature
component-model
only.Expand description
Types and support for parsing the component model text format.
Structs§
- Alias
- An alias to a component item.
- Canon
Error Context Debug Message - Information relating to the
error-context.debug-message
intrinsic. - Canon
Error Context New - Information relating to the
error-context.new
intrinsic. - Canon
Future Cancel Read - Information relating to the
future.cancel-read
intrinsic. - Canon
Future Cancel Write - Information relating to the
future.cancel-write
intrinsic. - Canon
Future Close Readable - Information relating to the
future.close-readable
intrinsic. - Canon
Future Close Writable - Information relating to the
future.close-writable
intrinsic. - Canon
Future New - Information relating to the
future.new
intrinsic. - Canon
Future Read - Information relating to the
future.read
intrinsic. - Canon
Future Write - Information relating to the
future.write
intrinsic. - Canon
Lift - Information relating to lifting a core function.
- Canon
Lower - Information relating to lowering a component function.
- Canon
Resource Drop - Information relating to the
resource.drop
intrinsic. - Canon
Resource New - Information relating to the
resource.new
intrinsic. - Canon
Resource Rep - Information relating to the
resource.rep
intrinsic. - Canon
Stream Cancel Read - Information relating to the
stream.cancel-read
intrinsic. - Canon
Stream Cancel Write - Information relating to the
stream.cancel-write
intrinsic. - Canon
Stream Close Readable - Information relating to the
stream.close-readable
intrinsic. - Canon
Stream Close Writable - Information relating to the
stream.close-writable
intrinsic. - Canon
Stream New - Information relating to the
stream.new
intrinsic. - Canon
Stream Read - Information relating to the
stream.read
intrinsic. - Canon
Stream Write - Information relating to the
stream.write
intrinsic. - Canon
Task Return - Information relating to the
task.return
intrinsic. - Canon
Thread Available Parallelism - Information relating to the
thread.spawn
intrinsic. - Canon
Thread Spawn - Information relating to the
thread.spawn
intrinsic. - Canon
Waitable SetPoll - Information relating to the
waitable-set.poll
intrinsic. - Canon
Waitable SetWait - Information relating to the
waitable-set.wait
intrinsic. - Canon
Yield - Information relating to the
task.yield
intrinsic. - Canonical
Func - A WebAssembly canonical function to be inserted into a component.
- Component
- A parsed WebAssembly component module.
- Component
Export - An entry in a WebAssembly component’s export section.
- Component
Export Type - The type of an exported item from an component or instance type.
- Component
Extern Name - The different ways an import can be named.
- Component
Function Param - A parameter of a
ComponentFunctionType
. - Component
Function Result - A result of a
ComponentFunctionType
. - Component
Function Type - A component function type with parameters and result.
- Component
Import - An
import
statement and entry in a WebAssembly component. - Component
Type - A type definition for a component type.
- Component
ValType Use - A value type declaration used for values in import signatures.
- Core
Func - A declared core function.
- Core
Instance - A core instance defined by instantiation or exporting core items.
- Core
Instance Export - An exported item as part of a core instance.
- Core
Instantiation Arg - An argument to instantiate a core module.
- Core
Item Ref - Parses core item references.
- Core
Module - A core WebAssembly module to be created as part of a component.
- Core
Type - A core type declaration.
- Custom
- A custom section within a component.
- Enum
- An enum type.
- Flags
- A flags type.
- Func
- A declared component function.
- Future
- A future type.
- Index
OrCore Ref - Convenience structure to parse
$f
or(item $f)
. - Index
OrRef - Convenience structure to parse
$f
or(item $f)
. - Inline
Component ValType - An inline-only component value type.
- Inline
Export - A listing of inline
(export "foo" <url>)
statements on a WebAssembly component item in its textual format. - Inline
Export Alias - A inline alias for component exported items.
- Inline
Import - A listing of a inline
(import "foo")
statement. - Instance
- A component instance defined by instantiation or exporting items.
- Instance
Type - A type definition for an instance type.
- Instantiation
Arg - An argument to instantiate a component.
- ItemRef
- Parses component item references.
- ItemSig
- An item signature for imported items.
- Item
SigNo Name - An item signature for imported items.
- List
- A list type.
- Module
Type - A type definition for a core module.
- Nested
Component - A nested WebAssembly component.
- Option
Type - An optional type.
- Record
- A record defined type.
- Record
Field - A record type field.
- Resource
Type - A type definition for an instance type.
- Result
Type - A result type.
- Start
- A function to call at instantiation time.
- Stream
- A stream type.
- Tuple
- A tuple type.
- Type
- A type declaration in a component.
- Variant
- A variant defined type.
- Variant
Case - A case of a variant type.
Enums§
- Alias
Target - The target of a component alias.
- Canon
Opt - Canonical ABI options.
- Canonical
Func Kind - Possible ways to define a canonical function in the text format.
- Component
Defined Type - Component
Export Alias Kind - Represents the kind of instance export alias.
- Component
Export Kind - The kind of exported item.
- Component
Field - A listing of all possible fields that can make up a WebAssembly component.
- Component
Kind - The different kinds of ways to define a component.
- Component
Outer Alias Kind - Represents the kind of outer alias.
- Component
Type Decl - A declaration of a component type.
- Component
Type Use - A reference to a type defined in this component.
- Component
ValType - A component value type.
- Core
Func Kind - Represents the kind of core functions.
- Core
Instance Kind - The kinds of core instances in the text format.
- Core
Instantiation ArgKind - The kind of core instantiation argument.
- Core
Module Kind - Possible ways to define a core module in the text format.
- Core
Type Def - Represents a core type definition.
- Core
Type Use - A reference to a core type defined in this component.
- Func
Kind - Represents the kind of component functions.
- Instance
Kind - The kinds of instances in the text format.
- Instance
Type Decl - A declaration of an instance type.
- Instantiation
ArgKind - The kind of instantiation argument.
- Item
SigKind - The kind of signatures for imported items.
- Module
Type Decl - The declarations of a
ModuleType
. - Nested
Component Kind - The different kinds of ways to define a nested component.
- Primitive
ValType - A primitive value type.
- Refinement
- A refinement for a variant case.
- Type
Bounds - Represents the bounds applied to types being imported.
- TypeDef
- A definition of a component type.
- WastVal
- Expression that can be used inside of
invoke
expressions for core wasm functions.