Struct moore_common::name::NameTable [−][src]
pub struct NameTable { /* fields omitted */ }Expand description
A lookup table of names. Internalizes strings either in a case sensitive or case insensitive way. Allows for bidirectional lookup, i.e. by string or by assigned name.
Implementations
Obtain a name for a string. This either inserts the string into the table and returns the new name, or returns the existing name if the string already exists in the table.