pub trait HMap<Out> {
type Fun;
// Required method
fn hmap(self, f: &Self::Fun) -> Out;
}Expand description
Implemented by higher order maps.
A higher order map takes common data structures such as vectors and lists and applies a function to every element.
This is implemented recursively, hence higher order maps.