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

Mutable reference to the node’s value.

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

Formats the value using the given formatter. Read more

Computes from scratch.

Return an iterator over the child subtries of this node.

Get the key stored at this node, if any.

Get the value stored at this node, if any.

Determine if the Trie contains 0 key-value pairs.

Determine if the trie is a leaf node (has no children).

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.

Get the prefix of this node.

Number of key/value pairs stored in this trie.

Return an iterator over the child subtries of this node.

Get the key stored at this node, if any.

Get the value stored at this node, if any.

Determine if the Trie contains 0 key-value pairs.

Determine if the trie is a leaf node (has no children).

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.

Get the prefix of this node.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.