Function std::iter::repeat [] [src]

pub fn repeat<T>(elt: T) -> Repeat<T> where T: Clone

Creates a new iterator that endlessly repeats the element elt.