pub type FloatFormatter = fn(f64, &mut dyn Write) -> Result<()>;Expand description
A function that formats a floating-point number to a writer.
This is used to customize how f32 and f64 values are serialized to XML.
The function receives the value (as f64, with f32 values upcast) and
a writer to write the formatted output to.