pub fn repeat<T: Clone, E>(value: T) -> Repeat<T, E>
Creates an iterator that endlessly repeats a single element.