Trait plexus::generate::IndexVertices
[−]
[src]
pub trait IndexVertices<P>: Sized where
P: MapVerticesInto<usize> + Topological, { fn index_vertices_with<N, K, F>(
self,
indexer: N,
f: F
) -> (Vec<<P as MapVerticesInto<usize>>::Output>, Vec<P::Vertex>)
where
N: Indexer<P, K>,
F: Fn(&P::Vertex) -> &K; fn index_vertices<N>(
self,
indexer: N
) -> (Vec<<P as MapVerticesInto<usize>>::Output>, Vec<P::Vertex>)
where
N: Indexer<P, P::Vertex>, { ... } }
Required Methods
fn index_vertices_with<N, K, F>(
self,
indexer: N,
f: F
) -> (Vec<<P as MapVerticesInto<usize>>::Output>, Vec<P::Vertex>) where
N: Indexer<P, K>,
F: Fn(&P::Vertex) -> &K,
self,
indexer: N,
f: F
) -> (Vec<<P as MapVerticesInto<usize>>::Output>, Vec<P::Vertex>) where
N: Indexer<P, K>,
F: Fn(&P::Vertex) -> &K,
Provided Methods
fn index_vertices<N>(
self,
indexer: N
) -> (Vec<<P as MapVerticesInto<usize>>::Output>, Vec<P::Vertex>) where
N: Indexer<P, P::Vertex>,
self,
indexer: N
) -> (Vec<<P as MapVerticesInto<usize>>::Output>, Vec<P::Vertex>) where
N: Indexer<P, P::Vertex>,
Implementors
impl<P, I> IndexVertices<P> for I where
I: Iterator<Item = P>,
P: MapVerticesInto<usize> + Topological,