Enum adapton::catalog::collections::Tree [] [src]

pub enum Tree<X> {
    Nil,
    Leaf(X),
    Bin(usizeBox<Tree<X>>, Box<Tree<X>>),
    Name(NameusizeBox<Tree<X>>, Box<Tree<X>>),
    Art(Art<Tree<X>>),
}

Variants

Trait Implementations

impl<X: Debug> Debug for Tree<X>
[src]

[src]

Formats the value using the given formatter.

impl<X: PartialEq> PartialEq for Tree<X>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<X: Eq> Eq for Tree<X>
[src]

impl<X: Hash> Hash for Tree<X>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<X: Clone> Clone for Tree<X>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Leaf: Debug + Hash + PartialEq + Eq + Clone + 'static> TreeIntro<usize, Leaf> for Tree<Leaf>
[src]

[src]

[src]

[src]

[src]

[src]

impl<Leaf: Debug + Hash + PartialEq + Eq + Clone + 'static> TreeElim<usize, Leaf> for Tree<Leaf>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]