pub trait Template {
// Required method
fn format(&self, formatter: &mut TemplateFormatter<'_>) -> Result<()>;
}Expand description
Represents a printable type or a compiled template containing a placeholder value.
This is analogous to std::fmt::Display, but with customized error
handling.