Skip to main content

Module source

Module source 

Source
Expand description

The codegen input: a set of root Rust types, resolved (via the facet bridge) into one schema registry plus the roots’ content-derived ids.

Every target language renders from a Module: the registry gives the type graph, the roots name the entry points.

Structs§

Builder
Builder for accumulating root types by their Rust type, sidestepping the &'static Shape lifetime dance at the call site.
Module
A resolved set of types to generate from.
Root
A root entry type the caller asked to generate.