Skip to main content

Module path_trie

Module path_trie 

Source
Expand description

A generic prefix trie keyed by path components.

PathTrie<T> provides O(k) operations where k is the path depth. Each node can optionally hold a value, and has children indexed by path component.

Structsยง

PathTrie
A prefix trie keyed by path components.
PathTrieIter
Iterator over (Path, &T) pairs in a PathTrie.