Struct petgraph::adj::Neighbors[][src]

pub struct Neighbors<'a, E, Ix> where
    Ix: IndexType
{ /* fields omitted */ }

An iterator over the indices of the neighbors of a node.

Trait Implementations

impl<'a, E, Ix> DoubleEndedIterator for Neighbors<'a, E, Ix> where
    Ix: IndexType
[src]

impl<'a, E, Ix> ExactSizeIterator for Neighbors<'a, E, Ix> where
    Ix: IndexType
[src]

impl<'a, E, Ix> Iterator for Neighbors<'a, E, Ix> where
    Ix: IndexType
[src]

type Item = NodeIndex<Ix>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, E, Ix> RefUnwindSafe for Neighbors<'a, E, Ix> where
    E: RefUnwindSafe,
    Ix: RefUnwindSafe
[src]

impl<'a, E, Ix> Send for Neighbors<'a, E, Ix> where
    E: Sync,
    Ix: Sync
[src]

impl<'a, E, Ix> Sync for Neighbors<'a, E, Ix> where
    E: Sync,
    Ix: Sync
[src]

impl<'a, E, Ix> Unpin for Neighbors<'a, E, Ix>[src]

impl<'a, E, Ix> UnwindSafe for Neighbors<'a, E, Ix> where
    E: RefUnwindSafe,
    Ix: RefUnwindSafe
[src]

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, 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.