Struct trees::bfs::BfsTree[][src]

pub struct BfsTree<Iter> {
    pub iter: Iter,
    pub size: Size,
}

Fields

iter: Itersize: Size

Implementations

impl<Item, Iter> BfsTree<Splitted<Iter>> where
    Iter: Iterator<Item = Item>, 
[src]

pub fn from<Treelike>(treelike: Treelike, size: Size) -> Self where
    Treelike: IntoIterator<Item = Item, IntoIter = Iter>, 
[src]

impl<Iter> BfsTree<Iter>[src]

pub fn wrap(self) -> Bfs<Iter>[src]

Trait Implementations

impl<T, Iter> From<BfsTree<Iter>> for Tree<T> where
    Iter: Iterator<Item = Visit<T>>, 
[src]

Auto Trait Implementations

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

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

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

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

impl<Iter> UnwindSafe for BfsTree<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.