Enum immutable_seq::digit::Digit [] [src]

pub enum Digit<T, M> {
    One(Lazy<Node<T, M>>),
    Two(Lazy<Node<T, M>>, Lazy<Node<T, M>>),
    Three(Lazy<Node<T, M>>, Lazy<Node<T, M>>, Lazy<Node<T, M>>),
    Four(Lazy<Node<T, M>>, Lazy<Node<T, M>>, Lazy<Node<T, M>>, Lazy<Node<T, M>>),
}

A short sequence of 2-3-trees.

Variants

Methods

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

Iterate of the items in the 2-3-trees in this digit.

Trait Implementations

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

Formats the value using the given formatter.

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

Performs the conversion.

impl<T, M> Clone for Digit<T, M>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, M> Measure<M> for Digit<T, M> where T: Measure<M>,
        M: Add<Output=M> + Copy
[src]