Function std::vec::from_elem_in

source ·
pub fn from_elem_in<T, A>(elem: T, n: usize, alloc: A) -> Vec<T, A>where
    T: Clone,
    A: Allocator,
🔬This is a nightly-only experimental API. (allocator_api #32838)