Trait trees::bfs::Split [−][src]
pub trait Split {
type Item;
type Iter: ExactSizeIterator;
fn split(self) -> (Self::Item, Self::Iter, u32);
}Associated Types
type Item
type Iter: ExactSizeIterator
Required Methods
Implementors
impl<T> Split for trees::linked::singly::tree::Tree<T> type Item = T; type Iter = IntoIter<T>;impl<'a, T: 'a> Split for &'a trees::linked::singly::node::Node<T> type Item = &'a T; type Iter = Iter<'a, T>;impl<'a, T: 'a> Split for &'a mut trees::linked::singly::node::Node<T> type Item = &'a mut T; type Iter = IterMut<'a, T>;impl<T> Split for trees::linked::fully::tree::Tree<T> type Item = T; type Iter = IntoIter<T>;impl<'a, T: 'a> Split for &'a trees::linked::fully::node::Node<T> type Item = &'a T; type Iter = Iter<'a, T>;impl<'a, T: 'a> Split for &'a mut trees::linked::fully::node::Node<T> type Item = &'a mut T; type Iter = IterMut<'a, T>;impl<'a, T: 'a> Split for NodeRef<'a, T> type Item = &'a T; type Iter = Iter<'a, T>;impl<'a, T: 'a> Split for NodeMut<'a, T> type Item = &'a mut T; type Iter = IterMut<'a, T>;