Available on crate feature
component-model
only.Expand description
Types and support for parsing the component model text format.
Structs§
- An alias to a component item.
- Information relating to lifting a core function.
- Information relating to lowering a component function.
- Information relating to the
resource.drop
intrinsic. - Information relating to the
resource.new
intrinsic. - Information relating to the
resource.rep
intrinsic. - Information relating to the
thread.spawn
intrinsic. - Information relating to the
thread.spawn
intrinsic. - A WebAssembly canonical function to be inserted into a component.
- A parsed WebAssembly component module.
- An entry in a WebAssembly component’s export section.
- The type of an exported item from an component or instance type.
- The different ways an import can be named.
- A parameter of a
ComponentFunctionType
. - A result of a
ComponentFunctionType
. - A component function type with parameters and result.
- An
import
statement and entry in a WebAssembly component. - A type definition for a component type.
- A value type declaration used for values in import signatures.
- A declared core function.
- A core instance defined by instantiation or exporting core items.
- An exported item as part of a core instance.
- An argument to instantiate a core module.
- Parses core item references.
- A core WebAssembly module to be created as part of a component.
- A core type declaration.
- A custom section within a component.
- An enum type.
- A flags type.
- A declared component function.
- Convenience structure to parse
$f
or(item $f)
. - Convenience structure to parse
$f
or(item $f)
. - An inline-only component value type.
- A listing of inline
(export "foo" <url>)
statements on a WebAssembly component item in its textual format. - A inline alias for component exported items.
- A listing of a inline
(import "foo")
statement. - A component instance defined by instantiation or exporting items.
- A type definition for an instance type.
- An argument to instantiate a component.
- Parses component item references.
- An item signature for imported items.
- An item signature for imported items.
- A list type.
- A type definition for a core module.
- A nested WebAssembly component.
- An optional type.
- A record defined type.
- A record type field.
- A type definition for an instance type.
- A result type.
- A function to call at instantiation time.
- A tuple type.
- A type declaration in a component.
- A variant defined type.
- A case of a variant type.
Enums§
- The target of a component alias.
- Canonical ABI options.
- Possible ways to define a canonical function in the text format.
- Represents the kind of instance export alias.
- The kind of exported item.
- A listing of all possible fields that can make up a WebAssembly component.
- The different kinds of ways to define a component.
- Represents the kind of outer alias.
- A declaration of a component type.
- A reference to a type defined in this component.
- A component value type.
- Represents the kind of core functions.
- The kinds of core instances in the text format.
- The kind of core instantiation argument.
- Possible ways to define a core module in the text format.
- Represents a core type definition.
- A reference to a core type defined in this component.
- Represents the kind of component functions.
- The kinds of instances in the text format.
- A declaration of an instance type.
- The kind of instantiation argument.
- The kind of signatures for imported items.
- The declarations of a
ModuleType
. - The different kinds of ways to define a nested component.
- A primitive value type.
- A refinement for a variant case.
- Represents the bounds applied to types being imported.
- A definition of a component type.
- Expression that can be used inside of
invoke
expressions for core wasm functions.