Struct SubTrie
pub struct SubTrie<'a, K: 'a, V: 'a> { /* private fields */ }
Immutable view of a sub-tree a larger trie.
Implementations
impl<'a, K, V> SubTrie<'a, K, V>
where
K: TrieKey,
fn get<Q>(&self, key: &Q) -> SubTrieResult<&V> where K: Borrow<Q>, Q: TrieKey + ?Sized,Look up the value for the given key, which should be an extension of this subtrie's key.
The key may be any borrowed form of the trie's key type, but TrieKey on the borrowed form must match those for the key type
Trait Implementations
impl<'a, K: Debug + 'a, V: Debug + 'a> Debug for SubTrie<'a, K, V>
fn fmt(&self, f: &mut Formatter<'_>) -> Result