Enum outils::tree::bst::BstDirection
[−]
[src]
pub enum BstDirection { Left, Right, }
Enum to refer to the two possible traversal directions of a binary tree
(i.e. Left
and Right
) in a type-safe way.
Variants
Left
The left child of binary tree node.
Right
The right child of a binary tree node.
Trait Implementations
impl Debug for BstDirection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for BstDirection
[src]
impl Clone for BstDirection
[src]
fn clone(&self) -> BstDirection
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for BstDirection
[src]
fn eq(&self, __arg_0: &BstDirection) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.