Enum bitstring_trees::set::Node [] [src]

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

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

Variants

Inner node

Leaf node

Methods

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

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

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.