pub trait Map<T> { fn map(self, f: impl Fn(T) -> T) -> Self; }
Applies f to all components, returning the results as Self.
f
Self