[][src]Struct petgraph::visit::WalkerIter

pub struct WalkerIter<W, C> { /* fields omitted */ }

A walker and its context wrapped into an iterator.

Implementations

impl<W, C> WalkerIter<W, C> where
    W: Walker<C>,
    C: Clone
[src]

pub fn context(&self) -> C[src]

pub fn inner_ref(&self) -> &W[src]

pub fn inner_mut(&mut self) -> &mut W[src]

Trait Implementations

impl<W: Clone, C: Clone> Clone for WalkerIter<W, C>[src]

impl<W: Debug, C: Debug> Debug for WalkerIter<W, C>[src]

impl<W, C> Iterator for WalkerIter<W, C> where
    W: Walker<C>,
    C: Clone
[src]

type Item = W::Item

The type of the elements being iterated over.

Auto Trait Implementations

impl<W, C> RefUnwindSafe for WalkerIter<W, C> where
    C: RefUnwindSafe,
    W: RefUnwindSafe

impl<W, C> Send for WalkerIter<W, C> where
    C: Send,
    W: Send

impl<W, C> Sync for WalkerIter<W, C> where
    C: Sync,
    W: Sync

impl<W, C> Unpin for WalkerIter<W, C> where
    C: Unpin,
    W: Unpin

impl<W, C> UnwindSafe for WalkerIter<W, C> where
    C: UnwindSafe,
    W: 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<N, E, I> ElementIterator<N, E> for I where
    I: Iterator<Item = Element<N, E>> + ?Sized
[src]

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.