pub fn fmt_display<T: ?Sized>( f: impl Fn(&mut Formatter<'_>, &T) -> Result, ) -> impl DisplayFormat<T>