[−][src]Function repeat_finite::repeat_finite
#[must_use]pub fn repeat_finite<T: Clone>(x: T, n: usize) -> RepeatFinite<T>
Creates a new iterator that finitely repeats a single element.
For more details see RepeatFinite
#[must_use]pub fn repeat_finite<T: Clone>(x: T, n: usize) -> RepeatFinite<T>
Creates a new iterator that finitely repeats a single element.
For more details see RepeatFinite