Function std::iter::repeatStable [-] [+] [src]

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

Create a new iterator that endlessly repeats the element elt.