Trait CollectNode

Source
pub trait CollectNode<T: Debug + Clone, I: CompareNode<T>> {
    // Required methods
    fn collect_siblings(&self, ident: &I) -> NodeCollection<T>;
    fn collect_children(&self, ident: &I) -> NodeCollection<T>;
    fn collect_linked_list(&self, ident: &I) -> NodeCollection<T>;
}

Required Methods§

Source

fn collect_siblings(&self, ident: &I) -> NodeCollection<T>

Source

fn collect_children(&self, ident: &I) -> NodeCollection<T>

Source

fn collect_linked_list(&self, ident: &I) -> NodeCollection<T>

Implementors§

Source§

impl<T: Debug + Clone, I: CompareNode<T>> CollectNode<T, I> for Node<T>