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
NowhereNo value was found
Left(T)The value was found in the left branch
Right(T)The value was found in the right branch
Trait Implementations
impl<T: PartialEq> PartialEq for Positioned<T>[src]
fn eq(&self, __arg_0: &Positioned<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Positioned<T>) -> bool
This method tests for !=.