Enum trees::bfs::Bfs[][src]

pub enum Bfs<Iter> {
    Tree(BfsTree<Iter>),
    Forest(BfsForest<Iter>),
}

Variants

Tree(BfsTree<Iter>)
Forest(BfsForest<Iter>)

Implementations

impl<T, Iter> Bfs<Iter> where
    Iter: Iterator<Item = Visit<T>>, 
[src]

pub fn iter(self) -> Iter[src]

pub fn iter_and_size(self) -> (Iter, Size)[src]

pub fn tree_iter(self) -> Option<Iter>[src]

pub fn forest_iter(self) -> Option<Iter>[src]

Auto Trait Implementations

impl<Iter> RefUnwindSafe for Bfs<Iter> where
    Iter: RefUnwindSafe

impl<Iter> Send for Bfs<Iter> where
    Iter: Send

impl<Iter> Sync for Bfs<Iter> where
    Iter: Sync

impl<Iter> Unpin for Bfs<Iter> where
    Iter: Unpin

impl<Iter> UnwindSafe for Bfs<Iter> where
    Iter: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.