Skip to main content

for_each

Function for_each 

Source
pub const fn for_each<Func, Item>(func: Func) -> ForEach<Func>
where Func: FnMut(Item),
Expand description

Creates a ForEach terminal push that consumes each item with a function.