Function core::iter::iterate
[−]
[src]
pub fn iterate<T, F>(seed: T, f: F) -> Iterate<T, F> where T: Clone, F: FnMut(T) -> T
Deprecated since 1.2.0
: has not gained enough traction to retain its position in the standard library
Creates a new iterator that produces an infinite sequence of
repeated applications of the given function f
.