pub type TypeNameFn = fn(f: &mut Formatter<'_>, opts: TypeNameOpts) -> Result;Expand description
A function that formats the name of a type.
This helps avoid allocations, and it takes options.
pub type TypeNameFn = fn(f: &mut Formatter<'_>, opts: TypeNameOpts) -> Result;A function that formats the name of a type.
This helps avoid allocations, and it takes options.