map

Function map 

Source
pub fn map<I, O, F>(f: F) -> Pipe<I, O>
where F: Fn(I) -> O + Send + Sync + Clone + 'static, I: Send + 'static, O: Send + 'static,
Expand description

Create a pipe that applies the given function to each element