Struct radix_trie::SubTrieMut [−][src]
pub struct SubTrieMut<'a, K: 'a, V: 'a> { /* fields omitted */ }
Expand description
Mutable view of a sub-tree of a larger trie.
Implementations
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
Insert a value in this subtrie. The key should be an extension of this subtrie’s key.
Remove a value from this subtrie. The key 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
Return an iterator over the child subtries of this node.
Return an iterator over the keys and values of the Trie.
Return an iterator over the keys of the Trie.
Return an iterator over the values of the Trie.
impl<'a: 'b, 'b, K: 'a, V: 'a> TrieCommon<'b, K, V> for &'b SubTrieMut<'a, K, V> where
K: TrieKey,
impl<'a: 'b, 'b, K: 'a, V: 'a> TrieCommon<'b, K, V> for &'b SubTrieMut<'a, K, V> where
K: TrieKey,
Return an iterator over the child subtries of this node.
Return an iterator over the keys and values of the Trie.
Return an iterator over the keys of the Trie.
Return an iterator over the values of the Trie.