Function std::vec::from_elem [] [src]

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