Crate wit_encoder

Source
Expand description

A WIT encoder for Rust.

This crate is modeled after the wasm-encoder crate but is used to encode WIT documents instead of WebAssembly modules.

Structs§

Docs
Documentation
Enum
A variant without a payload
EnumCase
Field
Flag
Flags
Ident
Include
Enable the union of a world with another world
Interface
Package
A WIT package.
PackageName
A structure used to keep track of the name of a package, containing optional information such as a namespace and version information.
Params
Record
RenderOpts
Resource
ResourceFunc
Result_
StandaloneFunc
Tuple
TypeDef
Use
Enable the union of a world with another world
Variant
VariantCase
World
WorldNamedInterface

Enums§

InterfaceItem
PackageItem
ResourceFuncKind
Type
TypeDefKind
WorldItem

Traits§

Render

Functions§

packages_from_parsed

Type Aliases§

InterfaceItems
InterfaceUses