Skip to main content

TypeRegistry

Type Alias TypeRegistry 

Source
pub type TypeRegistry = HashMap<Uuid, Type>;
Expand description

A set of low::Types keyed by id, used to resolve the TypeRefs that name nested types during a type-directed traversal (validation, defaulting, (de)serialization). Well-known primitives are recognised by id and need no entry (see PRIMITIVE_TYPES); user-defined structures and enumerations must be present.

Aliased Typeยง

pub struct TypeRegistry { /* private fields */ }