[][src]Trait handlegraph::pathhandlegraph::embedded_paths::IntoNodeOccurrences

pub trait IntoNodeOccurrences: GraphPaths {
    type Occurrences: Iterator<Item = (PathId, Self::StepIx)>;
    fn steps_on_handle(self, handle: Handle) -> Option<Self::Occurrences>;
}

Trait for iterating through all the path steps on a handle in a graph.

Associated Types

type Occurrences: Iterator<Item = (PathId, Self::StepIx)>[src]

An iterator through the steps on a path, by PathId and StepIx.

Loading content...

Required methods

fn steps_on_handle(self, handle: Handle) -> Option<Self::Occurrences>[src]

Loading content...

Implementors

impl<'a> IntoNodeOccurrences for &'a HashGraph[src]

type Occurrences = OccurIter<'a>

impl<'a> IntoNodeOccurrences for &'a PackedGraph[src]

Loading content...