Trait Formatter

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

Trait for formatting output

Required Methods§

Source

fn format(&self, content: &str) -> String

Format output for display

Implementors§