Function std::at_vec::from_elem

pub fn from_elem<T: Clone>(n_elts: uint, t: T) -> @[T]

Creates and initializes an immutable vector.

Creates an immutable vector of size n_elts and initializes the elements to the value t.