Struct petgraph::matrix_graph::Edges[][src]

pub struct Edges<'a, Ty: EdgeType, Null: 'a + Nullable, Ix> { /* fields omitted */ }

Iterator over the edges of from or to a node

Created with .edges(), .edges_directed().

Trait Implementations

impl<'a, Ty: EdgeType, Null: Nullable, Ix: IndexType> Iterator for Edges<'a, Ty, Null, Ix>[src]

type Item = (NodeIndex<Ix>, NodeIndex<Ix>, &'a Null::Wrapped)

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, Ty, Null, Ix> RefUnwindSafe for Edges<'a, Ty, Null, Ix> where
    Ix: RefUnwindSafe,
    Null: RefUnwindSafe,
    Ty: RefUnwindSafe

impl<'a, Ty, Null, Ix> Send for Edges<'a, Ty, Null, Ix> where
    Ix: Send,
    Null: Sync,
    Ty: Send

impl<'a, Ty, Null, Ix> Sync for Edges<'a, Ty, Null, Ix> where
    Ix: Sync,
    Null: Sync,
    Ty: Sync

impl<'a, Ty, Null, Ix> Unpin for Edges<'a, Ty, Null, Ix> where
    Ix: Unpin,
    Ty: Unpin

impl<'a, Ty, Null, Ix> UnwindSafe for Edges<'a, Ty, Null, Ix> where
    Ix: UnwindSafe,
    Null: RefUnwindSafe,
    Ty: 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> Pointable for T[src]

type Init = T

The type for initializers.

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.