pub const fn fn_once<F, O>(f: F) -> Fwhere F: FnOnce() -> O,
Converts a closure with no arguments to an FnOnce.
FnOnce