Expand description
§StrIntern
A simple string interner for Rust.
Modules§
- sync
- A thread-safe variant of the interner.
Also provides a global interner (when the
global
feature is enabled), which comes with a free functionintern
, as well as anintern
method for a few string types.
Structs§
- Interner
- An interner will keep track of strings and ensure there is only one allocation for any given string contents.
- Into
Iter - An owning iterator over the strings that were in an
Interner
. - Iter
- An iterator over the strings in an
Interner
.
Type Aliases§
- Interned
Str - The type of strings that have been interned.