pub trait FormatOutput {
// Required method
fn format(&self, format: OutputFormat) -> String;
}Expand description
Trait for formatting output.
Required Methods§
Sourcefn format(&self, format: OutputFormat) -> String
fn format(&self, format: OutputFormat) -> String
Format as the given output format.