Crate sto

Crate sto 

Source
Expand description

§Sto

sto is a string interning crate, just like string-interner, lasso and ustr, but maintains lifetime-bounded, pointer-sized interned strings, and allocates memory only when needed.

§Features

NameDefaultDescription
globalprovide a shared global Repository

Structs§

Repository
A Repository used to store interned strings.
ScopedSto
Represents an interned string.

Functions§

repositoryglobal
Returns a reference to the default global shared Repository.

Type Aliases§

Sto
Alias for 'static ScopedSto.