pub struct NameTable { /* private fields */ }
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

Create a new empty name table.

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.

Retrieve the string given a name tag.

Try to find a string.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.