Function for_each_owned

Source
pub fn for_each_owned<T>(items: Vec<T>, f: impl Fn(T) + Send + Sync)
where T: Send + Sync,