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

Cedar holds all of the information about double array trie.

Implementations

Initialize the Cedar for further use.

Build the double array trie from the given key value pairs

Update the key for the value, it is public interface that works on &str

Delete the key from the trie, the public interface that works on &str

To check if key is in the dictionary.

To return an iterator to iterate through the common prefix in the dictionary with the key passed in.

To return the collection of the common prefix in the dictionary with the key passed in.

To return an iterator to iterate through the list of words in the dictionary that has key as their prefix.

To return the list of words in the dictionary that has key as their prefix.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.