format_xml
pub fn fmt<F>(f: F) -> impl Display + Debug where F: Fn(&mut Formatter<'_>) -> Result,
Returns a Display implementation using the provided closure.