[][src]Struct handlegraph::handlegraph::iter::EdgesIter

pub struct EdgesIter<G> where
    G: IntoNeighbors + IntoHandles + Copy
{ /* fields omitted */ }

Utility struct for iterating over all edges of a graph that already supports iteration over all handles, and the neighbors of each handle.

Implementations

impl<G> EdgesIter<G> where
    G: IntoNeighbors + IntoHandles + Copy
[src]

pub fn new(graph: G) -> Self[src]

Trait Implementations

impl<G> FusedIterator for EdgesIter<G> where
    G: IntoNeighbors + IntoHandles + Copy
[src]

impl<G> Iterator for EdgesIter<G> where
    G: IntoNeighbors + IntoHandles + Copy
[src]

type Item = Edge

The type of the elements being iterated over.

Auto Trait Implementations

impl<G> RefUnwindSafe for EdgesIter<G> where
    G: RefUnwindSafe,
    <G as IntoHandles>::Handles: RefUnwindSafe,
    <G as IntoNeighbors>::Neighbors: RefUnwindSafe
[src]

impl<G> Send for EdgesIter<G> where
    G: Send,
    <G as IntoHandles>::Handles: Send,
    <G as IntoNeighbors>::Neighbors: Send
[src]

impl<G> Sync for EdgesIter<G> where
    G: Sync,
    <G as IntoHandles>::Handles: Sync,
    <G as IntoNeighbors>::Neighbors: Sync
[src]

impl<G> Unpin for EdgesIter<G> where
    G: Unpin,
    <G as IntoHandles>::Handles: Unpin,
    <G as IntoNeighbors>::Neighbors: Unpin
[src]

impl<G> UnwindSafe for EdgesIter<G> where
    G: UnwindSafe,
    <G as IntoHandles>::Handles: UnwindSafe,
    <G as IntoNeighbors>::Neighbors: UnwindSafe
[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<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

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.