Enum merkle::Positioned [] [src]

pub enum Positioned<T> {
    Nowhere,
    Left(T),
    Right(T),
}

Tags a value so that we know from in branch (if any) it was found.

Variants

No value was found

The value was found in the left branch

The value was found in the right branch

Trait Implementations

impl<T: PartialEq> PartialEq for Positioned<T>
[src]

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

This method tests for !=.