[−][src]Struct daggy::walker::Filter

pub struct Filter<W, P> { /* fields omitted */ }

A walker that applies some given predicate to each element returned by its walker. The only index pairs that will be yielded are those that make the predicate evaluate to true.

Trait Implementations

impl<W: Clone, P: Clone> Clone for Filter<W, P>[src]

impl<W: Debug, P: Debug> Debug for Filter<W, P>[src]

impl<G, Ix, W, P> Walker<G> for Filter<W, P> where
    Ix: IndexType,
    W: Walker<G, Index = Ix>,
    P: FnMut(&G, EdgeIndex<Ix>, NodeIndex<Ix>) -> bool, 
[src]

type Index = Ix

The unsigned integer type used for node and edge indices.

Auto Trait Implementations

impl<W, P> RefUnwindSafe for Filter<W, P> where
    P: RefUnwindSafe,
    W: RefUnwindSafe, 

impl<W, P> Send for Filter<W, P> where
    P: Send,
    W: Send, 

impl<W, P> Sync for Filter<W, P> where
    P: Sync,
    W: Sync, 

impl<W, P> Unpin for Filter<W, P> where
    P: Unpin,
    W: Unpin, 

impl<W, P> UnwindSafe for Filter<W, P> where
    P: 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.