Function from_fn

Source
pub(crate) fn from_fn<F: Fn(&mut Formatter<'_>) -> Result>(f: F) -> FromFn<F>