Expand description
An “interner” is a data structure that associates values with usize tags and allows bidirectional lookup; i.e., given a value, one can easily find the type, and vice versa.
Modules§
- kw
 - This module contains all the defined keyword 
Symbols. - sym
 - This module contains all the defined non-keyword 
Symbols. 
Structs§
- Byte
Symbol  - Like 
Symbol, but for byte strings.ByteSymbolis used less widely, so it has fewer operations defined thanSymbol. - Ident
 - Ident
Printer  - The most general type to print identifiers.
 - Interner 🔒
 - Interner
Inner 🔒 - Macro
Rules Normalized Ident  - An newtype around 
Identthat calls Ident::normalize_to_macro_rules on construction for “local variable hygiene” comparisons. - Macros20
Normalized Ident  - An newtype around 
Identthat calls Ident::normalize_to_macros_2_0 on construction for “item hygiene” comparisons. - Symbol
 - An interned UTF-8 string.
 - Symbol
Index 🔒 
Enums§
Constants§
- PREDEFINED_
SYMBOLS_ COUNT  - The number of predefined symbols; this is the first index for
extra pre-interned symbols in an Interner created via
Interner::with_extra_symbols. - STDLIB_
STABLE_ CRATES  - Symbols for crates that are part of the stable standard library: 
std,core,alloc, andproc_macro. - SYMBOL_
DIGITS_ 🔒BASE  
Functions§
- used_
keywords  - Collect all the keywords in a given edition into a vector.