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
InnerNode(InnerNode<S>)
Inner node
Leaf(Leaf<S>)
Leaf node
Methods
impl<S: BitString + Clone> Node<S>
[src]
fn key(&self) -> &S
The longest shared prefix of all nodes in this sub tree.
Trait Implementations
impl<S: Clone + BitString> Clone for Node<S>
[src]
fn clone(&self) -> Node<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more