Trait louds::trie::Trie[][src]

pub trait Trie<T> {
    fn has<K: AsRef<[T]>>(&self, key: K) -> bool;
}

An ordered tree to manage a set of keys. It can answer whether it contains a given key or not.

Keys are any values that can be converted to a slice of alphabets (type T).

Required Methods

Returns true if the trie contains key.

Implementors