Enum immutable_seq::node::Node [] [src]

pub enum Node<T, M> {
    Leaf(T),
    Node2(M, Lazy<Node<T, M>>, Lazy<Node<T, M>>),
    Node3(M, Lazy<Node<T, M>>, Lazy<Node<T, M>>, Lazy<Node<T, M>>),
}

A node in a 2-3 tree.

The children are stared as lazy references

Variants

Methods

impl<T, M> Node<T, M>
[src]

Iterates over the values in the leaves

Trait Implementations

impl<T: Debug, M: Debug> Debug for Node<T, M>
[src]

Formats the value using the given formatter.

impl<'a, T, M> IntoIterator for &'a Node<T, M>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<T, M> Measure<M> for Node<T, M> where T: Measure<M>, M: Copy
[src]