[−][src]Trait fuzzy_trie::Collector
Collector for searches
When trie makes a search it walks over the nodes and puts values that match the given key into collector
Required methods
fn push(&mut self, distance: u8, value: &'a T)
Called when trie found a value that matches the key
distance - Levenshtein distance from key used to insert value to search key