Crate wit_bindgen
source ·Expand description
Bindings generation support for Rust with the Component Model.
This crate is a bindings generator for WIT and the Component Model.
Users are likely interested in the generate!
macro which actually
generates bindings. Otherwise this crate provides any runtime support
necessary for the macro-generated code.
Macros§
- Generate bindings for an input WIT document.
Structs§
- A type which represents a component model resource, either imported or exported into this component.
Traits§
- A trait which extends
WasmResource
used for Rust-defined resources, or those exported from this component. - A trait which all wasm resources implement, namely providing the ability to drop a resource.