pub fn from_fn<F>(f: F) -> FromFn<F>
🔬This is a nightly-only experimental API. (
debug_closure_helpers
#117729)Available on non-crate feature
ferrocene_certified
only.Expand description
Creates a type whose fmt::Debug
and fmt::Display
impls are provided with the function
f
.