Trait plexus::primitive::MapVertices
source · [−]pub trait MapVertices<T, U>: Sized {
fn map_vertices<F>(self, f: F) -> InteriorMap<Self, U, F>ⓘNotable traits for InteriorMap<I, T, F>impl<I, T, F> Iterator for InteriorMap<I, T, F> where
I: Iterator,
F: FnMut(<I::Item as Topological>::Vertex) -> T,
I::Item: Map<T> + Topological,
<I::Item as Map<T>>::Output: Topological<Vertex = T>, type Item = <I::Item as Map<T>>::Output;
where
F: FnMut(T) -> U;
}
Required Methods
fn map_vertices<F>(self, f: F) -> InteriorMap<Self, U, F>ⓘNotable traits for InteriorMap<I, T, F>impl<I, T, F> Iterator for InteriorMap<I, T, F> where
I: Iterator,
F: FnMut(<I::Item as Topological>::Vertex) -> T,
I::Item: Map<T> + Topological,
<I::Item as Map<T>>::Output: Topological<Vertex = T>, type Item = <I::Item as Map<T>>::Output;
where
F: FnMut(T) -> U,
I: Iterator,
F: FnMut(<I::Item as Topological>::Vertex) -> T,
I::Item: Map<T> + Topological,
<I::Item as Map<T>>::Output: Topological<Vertex = T>, type Item = <I::Item as Map<T>>::Output;