pub trait ParentNode: Nodewhere
    Self: Sized,{
    type Error;

    // Required methods
    fn left_child(&self) -> Result<Self, ChildError<Self::Key, Self::Error>>;
    fn right_child(&self) -> Result<Self, ChildError<Self::Key, Self::Error>>;
}

Required Associated Types§

Required Methods§

source

fn left_child(&self) -> Result<Self, ChildError<Self::Key, Self::Error>>

source

fn right_child(&self) -> Result<Self, ChildError<Self::Key, Self::Error>>

Implementors§