Function std::vec::from_elem

1.0.0 · source ·
pub fn from_elem<T>(elem: T, n: usize) -> Vec<T, Global>where
    T: Clone,