Trait BinaryTree

Source
pub trait BinaryTree {
    type Node: Node;

    // Required method
    fn root(&self) -> Option<&Self::Node>;
}

Required Associated Types§

Required Methods§

Source

fn root(&self) -> Option<&Self::Node>

Implementors§