fn write_header( out: &mut Buffer, class: &str, extra_content: Option<Buffer>, tooltip: Tooltip, extra_classes: &[String], )