Struct nannou::geom::graph::WalkVertices [−][src]
pub struct WalkVertices<'a, F, I, S: 'a = Default> where
F: Fn(&Index) -> I,
I: IntoIterator,
S: BaseFloat, { /* fields omitted */ }
A Walker type yielding all transformed vertices of all nodes within the graph.
Methods
impl<'a, F, I, S> WalkVertices<'a, F, I, S> where
F: Fn(&Index) -> I,
I: IntoIterator,
I::Item: ApplyTransform<S>,
S: BaseFloat,
[src]
impl<'a, F, I, S> WalkVertices<'a, F, I, S> where
F: Fn(&Index) -> I,
I: IntoIterator,
I::Item: ApplyTransform<S>,
S: BaseFloat,
pub fn next(&mut self, graph: &Graph<S>) -> Option<I::Item>
[src]
pub fn next(&mut self, graph: &Graph<S>) -> Option<I::Item>
Return the next vertex in the graph.
Auto Trait Implementations
impl<'a, F, I, S> Send for WalkVertices<'a, F, I, S> where
F: Send,
S: Send,
<I as IntoIterator>::IntoIter: Send,
impl<'a, F, I, S> Send for WalkVertices<'a, F, I, S> where
F: Send,
S: Send,
<I as IntoIterator>::IntoIter: Send,
impl<'a, F, I, S> Sync for WalkVertices<'a, F, I, S> where
F: Sync,
S: Sync,
<I as IntoIterator>::IntoIter: Sync,
impl<'a, F, I, S> Sync for WalkVertices<'a, F, I, S> where
F: Sync,
S: Sync,
<I as IntoIterator>::IntoIter: Sync,