pub trait Output {
// Required method
fn write(&mut self, seg: &str) -> Result<(), Error>;
// Provided method
fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error> { ... }
}
Expand description
The Output API.
Handlebars uses this trait to define rendered output.