Skip to main content

FormatOutput

Trait FormatOutput 

Source
pub trait FormatOutput {
    // Required method
    fn format(&self, format: OutputFormat) -> String;
}
Expand description

Trait for formatting output.

Required Methods§

Source

fn format(&self, format: OutputFormat) -> String

Format as the given output format.

Implementations on Foreign Types§

Source§

impl FormatOutput for Vec<License>

Source§

fn format(&self, format: OutputFormat) -> String

Implementors§