Skip to main content

formatter

Function formatter 

Source
pub fn formatter(family: ProviderFamily) -> ProviderFormatter
Expand description

Build a formatter for a given provider family without heap allocation or dynamic dispatch.

This is the preferred constructor: it returns ProviderFormatter by value (one byte) instead of a 16-byte Box<dyn> wide pointer.