Skip to main content

map

Function map 

Source
pub fn map<T, U>(items: &[T], each: fn(&T) -> U) -> Vec<U>