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

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

Variants

Balanced
Imbalanced

Methods

impl Level
[src]

fn is_balanced(self) -> bool

fn as_u32(self) -> u32

Trait Implementations

Derived Implementations

impl Eq for Level
[src]

impl PartialEq for Level
[src]

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

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

impl Debug for Level
[src]

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

impl Copy for Level
[src]

impl Clone for Level
[src]

fn clone(&self) -> Level

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