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


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