Rust: from_fn

Rating: 7

Creates a new iterator where each iteration calls the provided closure.

More Info