Function std::iter::iterateUnstable
[-]
[+]
[src]
pub fn iterate<T, F>(seed: T, f: F) -> Unfold<T, (F, Option<T>, bool), fn(&mut (F, Option<T>, bool)) -> Option<T>> where T: Clone, F: FnMut(T) -> TCreate a new iterator that produces an infinite sequence of
repeated applications of the given function f.