[][src]Struct daggy::walker::Iter

pub struct Iter<'a, G: 'a, Ix, W> { /* fields omitted */ }

An iterator yielding index pairs produced by its internal walker and graph.

Implementations

impl<'a, G, Ix, W> Iter<'a, G, Ix, W>[src]

pub fn edges(self) -> IterEdges<'a, G, Ix, W>

Notable traits for IterEdges<'a, G, Ix, W>

impl<'a, G, Ix, W> Iterator for IterEdges<'a, G, Ix, W> where
    Ix: IndexType,
    W: Walker<G, Index = Ix>, 
type Item = EdgeIndex<Ix>;
[src]

Convert to an iterator that only yields the edge indices.

pub fn nodes(self) -> IterNodes<'a, G, Ix, W>

Notable traits for IterNodes<'a, G, Ix, W>

impl<'a, G, Ix, W> Iterator for IterNodes<'a, G, Ix, W> where
    Ix: IndexType,
    W: Walker<G, Index = Ix>, 
type Item = NodeIndex<Ix>;
[src]

Convert to an iterator that only yields the node indices.

Trait Implementations

impl<'a, G: Clone + 'a, Ix: Clone, W: Clone> Clone for Iter<'a, G, Ix, W>[src]

impl<'a, G: Debug + 'a, Ix: Debug, W: Debug> Debug for Iter<'a, G, Ix, W>[src]

impl<'a, G, Ix, W> Iterator for Iter<'a, G, Ix, W> where
    Ix: IndexType,
    W: Walker<G, Index = Ix>, 
[src]

type Item = IndexPair<Ix>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, G, Ix, W> RefUnwindSafe for Iter<'a, G, Ix, W> where
    G: RefUnwindSafe,
    Ix: RefUnwindSafe,
    W: RefUnwindSafe

impl<'a, G, Ix, W> Send for Iter<'a, G, Ix, W> where
    G: Sync,
    Ix: Send,
    W: Send

impl<'a, G, Ix, W> Sync for Iter<'a, G, Ix, W> where
    G: Sync,
    Ix: Sync,
    W: Sync

impl<'a, G, Ix, W> Unpin for Iter<'a, G, Ix, W> where
    Ix: Unpin,
    W: Unpin

impl<'a, G, Ix, W> UnwindSafe for Iter<'a, G, Ix, W> where
    G: RefUnwindSafe,
    Ix: 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<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<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.