[][src]Module scale_info::interner

Interning data structure and associated symbol definitions.

The interner is used by the registry in order to compact strings and type definitions. Strings are uniquely identified by their contents while types are uniquely identified by their respective type identifiers.

The interners provide a strict ordered sequence of cached (aka interned) elements and is later used for compact serialization within the registry.

Structs

Interner

Interning data structure generic over the element type.

Symbol

A symbol from an interner.

UntrackedSymbol

A symbol that is not lifetime tracked.