[][src]Trait trees::bfs::Split

pub trait Split {
    type Item;
    type Iter: ExactSizeIterator;
    fn split(self) -> (Self::Item, Self::Iter, usize);
}

Split tree node into data item and children iter.

Associated Types

Loading content...

Required methods

fn split(self) -> (Self::Item, Self::Iter, usize)[src]

Loading content...

Implementations on Foreign Types

impl<'a, T: 'a> Split for Pin<&'a mut Node<T>>[src]

type Item = &'a mut T

type Iter = IterMut<'a, T>

Loading content...

Implementors

impl<'a, T: 'a> Split for &'a Node<T>[src]

type Item = &'a T

type Iter = Iter<'a, T>

impl<T> Split for Tree<T>[src]

type Item = T

type Iter = IntoIter<T>

Loading content...