Enum binary_tree::test::Level [] [src]

pub enum Level {
    Balanced(u32),
    Imbalanced(u32),
}

Variants

Balanced(u32)Imbalanced(u32)

Methods

impl Level
[src]

fn is_balanced(self) -> bool

fn as_u32(self) -> u32

Trait Implementations

impl Eq for Level
[src]

impl PartialEq for Level
[src]

fn eq(&self, __arg_0: &Level) -> bool

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

fn ne(&self, __arg_0: &Level) -> bool

This method tests for !=.

impl Debug for Level
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for Level
[src]

impl Clone for Level
[src]

fn clone(&self) -> Level

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more