pub struct Simple { /* private fields */ }

Implementations

proximity_threshold is the threshold where alike words are also accepted. It uses the range [0..1], where values nearer 0 allow more words. The default is 0.9.

proximity_threshold is the algorithm used for proximity checking of words.

word_count_limit is the number of words in this index where only words with the first character is used for approximate matching. Default is 2_500.

Merges other with self.

Trait Implementations

Formats the value using the given formatter. Read more

Self::new with proximity_threshold set to 0.85.

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

O(log n log n)

O(n log n)

O(log n log n)

O(log n)

Iterator is O(1) - running this and consuming the iterator is O(n log n).

You can get the length of the list using the ExactSizeIterator trait.

Estimate of the number of bytes this index uses in memory, specifically the heap. Read more

Only adds words which are alphanumeric.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.