Enum bitstring_trees::map::Node [] [src]

pub enum Node<S: BitString, V> {
    InnerNode(InnerNode<S, V>),
    Leaf(Leaf<S, V>),
}

Nodes of a RadixMap can be either an InnerNode (with two children) or a leaf node.

Variants

Inner node

Leaf node

Methods

impl<S: BitString + Clone, V> Node<S, V>
[src]

The longest shared prefix of all nodes in this sub tree.

Trait Implementations

impl<S: Clone + BitString, V: Clone> Clone for Node<S, V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: BitString + Debug, V: Debug> Debug for Node<S, V>
[src]

Formats the value using the given formatter.