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

The left child of binary tree node.

The right child of a binary tree node.

Trait Implementations

impl Debug for BstDirection
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for BstDirection
[src]

impl Clone for BstDirection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for BstDirection
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for BstDirection
[src]

Auto Trait Implementations

impl Send for BstDirection

impl Sync for BstDirection