pub struct DoubleArrayVocabulary { /* private fields */ }
Expand description

Compact double-array implementation of Vocabulary.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Creates an empty Vocabulary.

Builds a Vocabulary from a sequence of tokens.

Serializes the data structure into the writer.

Deserializes the data structure from the reader.

Gets the number of bytes to serialize the data structure.

Gets breakdowns of memory usages for components.

Looks up a token.

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.