Module syntax::symbol[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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

keywords [
Experimental
]

Structs

Ident [
Experimental
]
InternedString [
Experimental
]

Represents a string stored in the string interner

Interner [
Experimental
]
LocalInternedString [
Experimental
]

Represents a string stored in the interner. Because the interner outlives any thread which uses this type, we can safely treat string which points to interner data, as an immortal string, as long as this type never crosses between threads.

Symbol [
Experimental
]

A symbol is an interned or gensymed string.