[][src]Struct daggy::walker::Inspect

pub struct Inspect<W, F> { /* fields omitted */ }

A walker that calls a function with a reference to each index pair before yielding them. This is often useful for debugging a walker pipeline.

Trait Implementations

impl<W: Clone, F: Clone> Clone for Inspect<W, F>[src]

impl<W: Debug, F: Debug> Debug for Inspect<W, F>[src]

impl<G, Ix, W, F> Walker<G> for Inspect<W, F> where
    Ix: IndexType,
    W: Walker<G, Index = Ix>,
    F: FnMut(&G, EdgeIndex<Ix>, NodeIndex<Ix>), 
[src]

type Index = Ix

The unsigned integer type used for node and edge indices.

Auto Trait Implementations

impl<W, F> RefUnwindSafe for Inspect<W, F> where
    F: RefUnwindSafe,
    W: RefUnwindSafe

impl<W, F> Send for Inspect<W, F> where
    F: Send,
    W: Send

impl<W, F> Sync for Inspect<W, F> where
    F: Sync,
    W: Sync

impl<W, F> Unpin for Inspect<W, F> where
    F: Unpin,
    W: Unpin

impl<W, F> UnwindSafe for Inspect<W, F> where
    F: 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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.