forall I, In, Out, Env.
exposed struct Map {
inner: I,
f: closure[Env](In) -> Out,
}
f applied to each item.
Instances
instance Iterator[Map[I, In, Out, Env] -> Out]source
forall I, In, Out, Env where Iterator[I -> In], Copy[Env].
instance Iterator[Map[I, In, Out, Env] -> Out] { ... }
In core::iter.
map: the next item of the inner iterator, through f.