pub fn from_fn<F>(f: F) -> FromFn<F>Expand description
Creates a type whose fmt::Debug and fmt::Display impls are
forwarded to the provided closure.
pub fn from_fn<F>(f: F) -> FromFn<F>Creates a type whose fmt::Debug and fmt::Display impls are
forwarded to the provided closure.