Struct pushgen::generators::FromFn [−][src]
pub struct FromFn<F>(_);
Expand description
A generator where each iteration calls the provided closure F: FnMut() -> Option<T>
.
This struct
is created by the from_fn()
function.
See its documentation for more.
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for FromFn<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for FromFn<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more