Skip to main content

Module lattice

Module lattice 

Source
Expand description

Global lattice of registered TypeNodes.

Built once at process startup from inventory::iter::<TypeNodeReg> and cached for the process lifetime. Subtype queries (is_subtype_of) walk the parent chain with memoization. The lattice is never mutated after construction; no locks, no allocation on the query path.

Structs§

Lattice
Process-wide lattice. Single instance via Lattice::get.