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