NameFn

Type Alias NameFn 

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

A function that formats the name of a type.

This helps avoid allocations, and it takes options.