TypeNameFn

Type Alias TypeNameFn 

Source
pub type TypeNameFn = fn(&mut Formatter<'_>, TypeNameOpts) -> Result<(), Error>;
Expand description

A function that formats the name of a type.

This helps avoid allocations, and it takes options.