pub fn debug_fn<F>(f: F) -> FieldFn<F> where F: Fn(&mut Writer<'_>, &Field, &dyn Debug) -> Result + Clone,
Returns a FormatFields implementation that formats fields using the provided function or closure.
FormatFields