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