Function map_collect_owned

Source
pub fn map_collect_owned<'l, Item, PerItemResult, Result>(
    items: Vec<Item>,
    f: impl Fn(Item) -> PerItemResult + Send + Sync,
) -> Result
where Item: Send + Sync, PerItemResult: Send + Sync + 'l, Result: FromIterator<PerItemResult>,