[−][src]Type Definition conrod_core::graph::Parents
type Parents = Parents<Node, Edge, u32>;
A Walker over some node's parent nodes.
Trait Implementations
impl Walker<Graph> for Parents
[src]
type Index = u32
The unsigned integer type used for node and edge indices.
fn next(&mut self, graph: &Graph) -> Option<(EdgeIndex, Id)>
[src]
fn next_edge(&mut self, graph: &G) -> Option<EdgeIndex<Self::Index>>
[src]
fn next_node(&mut self, graph: &G) -> Option<NodeIndex<Self::Index>>
[src]
fn count(self, graph: &G) -> usize
[src]
fn last(
self,
graph: &G
) -> Option<(EdgeIndex<Self::Index>, NodeIndex<Self::Index>)>
[src]
self,
graph: &G
) -> Option<(EdgeIndex<Self::Index>, NodeIndex<Self::Index>)>
fn last_edge(self, graph: &G) -> Option<EdgeIndex<Self::Index>>
[src]
fn last_node(self, graph: &G) -> Option<NodeIndex<Self::Index>>
[src]
fn nth(
self,
graph: &G,
n: usize
) -> Option<(EdgeIndex<Self::Index>, NodeIndex<Self::Index>)>
[src]
self,
graph: &G,
n: usize
) -> Option<(EdgeIndex<Self::Index>, NodeIndex<Self::Index>)>
fn nth_edge(self, graph: &G, n: usize) -> Option<EdgeIndex<Self::Index>>
[src]
fn nth_node(self, graph: &G, n: usize) -> Option<NodeIndex<Self::Index>>
[src]
fn chain<O>(self, other: O) -> Chain<G, Self::Index, Self, O> where
O: Walker<G, Index = Self::Index>,
[src]
O: Walker<G, Index = Self::Index>,
fn filter<P>(self, predicate: P) -> Filter<Self, P> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn peekable(self) -> Peekable<G, Self::Index, Self>
[src]
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn skip(self, n: usize) -> Skip<G, Self::Index, Self>
[src]
fn take(self, n: usize) -> Take<G, Self::Index, Self>
[src]
fn all<P>(&mut self, graph: &G, predicate: P) -> bool where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn any<P>(&mut self, graph: &G, predicate: P) -> bool where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn find<P>(
&mut self,
graph: &G,
predicate: P
) -> Option<(EdgeIndex<Self::Index>, NodeIndex<Self::Index>)> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
&mut self,
graph: &G,
predicate: P
) -> Option<(EdgeIndex<Self::Index>, NodeIndex<Self::Index>)> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn find_edge<P>(
&mut self,
graph: &G,
predicate: P
) -> Option<EdgeIndex<Self::Index>> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
&mut self,
graph: &G,
predicate: P
) -> Option<EdgeIndex<Self::Index>> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn find_node<P>(
&mut self,
graph: &G,
predicate: P
) -> Option<NodeIndex<Self::Index>> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
[src]
&mut self,
graph: &G,
predicate: P
) -> Option<NodeIndex<Self::Index>> where
P: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> bool,
fn cycle(self) -> Cycle<G, Self::Index, Self> where
Self: Clone,
[src]
Self: Clone,
fn fold<B, F>(self, init: B, graph: &G, f: F) -> B where
F: FnMut(B, &G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> B,
[src]
F: FnMut(B, &G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>) -> B,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>),
[src]
F: FnMut(&G, EdgeIndex<Self::Index>, NodeIndex<Self::Index>),