pub const fn from_fn<F>(f: F) -> FromFn<F>This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description
Creates a type whose fmt::Debug and fmt::Display impls are
forwarded to the provided closure.
pub const fn from_fn<F>(f: F) -> FromFn<F>Creates a type whose fmt::Debug and fmt::Display impls are
forwarded to the provided closure.