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

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

Creates a new iterator that endlessly repeats the element elt.