[][src]Struct daggy::walker::TakeWhile

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

A walker that yields elements so long as the predicate returns true. After the predicate returns false for the first time, no further elements will be yielded.

Trait Implementations

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

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

impl<G, Ix, W, P> Walker<G> for TakeWhile<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 TakeWhile<W, P> where
    P: RefUnwindSafe,
    W: RefUnwindSafe

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

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

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

impl<W, P> UnwindSafe for TakeWhile<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.