Expand description
Interfaces and types to be used as symbols for the
StringInterner
.
The StringInterner::get_or_intern
method returns Symbol
types that allow to look-up the original string
using StringInterner::resolve
.
Structs§
- Symbol
U16 - Symbol that is 16-bit in size.
- Symbol
U32 - Symbol that is 32-bit in size.
- Symbol
Usize - Symbol that is the same size as a pointer (
usize
).
Traits§
- Symbol
- Types implementing this trait can be used as symbols for string interners.
Type Aliases§
- Default
Symbol - The symbol type that is used by default.