Enum diem_types::proof::position::NodeDirection
source · pub enum NodeDirection {
Left,
Right,
}
Variants§
Trait Implementations§
source§impl Debug for NodeDirection
impl Debug for NodeDirection
source§impl PartialEq<NodeDirection> for NodeDirection
impl PartialEq<NodeDirection> for NodeDirection
source§fn eq(&self, other: &NodeDirection) -> bool
fn eq(&self, other: &NodeDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NodeDirection
impl StructuralEq for NodeDirection
impl StructuralPartialEq for NodeDirection
Auto Trait Implementations§
impl RefUnwindSafe for NodeDirection
impl Send for NodeDirection
impl Sync for NodeDirection
impl Unpin for NodeDirection
impl UnwindSafe for NodeDirection
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.