Struct daggy::Parents
[−]
[src]
pub struct Parents<N, E, Ix: IndexType> { /* fields omitted */ }
A Walker type that can be used to step through the parents of some child node.
Trait Implementations
impl<'a, N, E, Ix> Walker<&'a Dag<N, E, Ix>> for Parents<N, E, Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
type Item = (EdgeIndex<Ix>, NodeIndex<Ix>)
fn walk_next(&mut self, dag: &'a Dag<N, E, Ix>) -> Option<Self::Item>
[src]
Advance to the next item
ⓘImportant traits for WalkerIter<W, C>fn iter(self, context: Context) -> WalkerIter<Self, Context> where
Context: Clone,
[src]
ⓘImportant traits for WalkerIter<W, C>
Context: Clone,
Create an iterator out of the walker and given context
.