syn::gen::fold

Function fold_vec

source
fn fold_vec<T, V, F>(vec: Vec<T>, fold: &mut V, f: F) -> Vec<T>
where V: ?Sized, F: FnMut(&mut V, T) -> T,