Searched refs:to_vec_mapped (Results 1 – 3 of 3) sorted by relevance
31 use crate::iterators::to_vec_mapped;364 let v = to_vec_mapped(0..len, move |_| f()); in from_shape_simple_fn()396 let v = to_vec_mapped(indices(shape.dim.clone()).into_iter(), f); in from_shape_fn()400 let v = to_vec_mapped(indexes::indices_iter_f(dim), f); in from_shape_fn()515 let v = to_vec_mapped(iter, map); in from_shape_trusted_iter_unchecked()
1508 let v = crate::iterators::to_vec_mapped(self.iter(), A::clone); in as_standard_layout()
1477 to_vec_mapped(iter, |x| x) in to_vec()1481 pub fn to_vec_mapped<I, F, B>(iter: I, mut f: F) -> Vec<B> in to_vec_mapped() function