macro_rules! iter_comp { (@__ for $($vars:pat),+ in $iter:expr; $($recurse:tt)+) => { ... }; (@__ for $($vars:pat),+ in $iter:expr => $mapper:expr $(, if $guard:expr)? $(,)?) => { ... }; (for $($t:tt)+) => { ... }; }
Expand description
Generates an iterator that yields the results of the comprehension.
For more information, see vec_comp!.