Skip to main content

OutputFormatter

Trait OutputFormatter 

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

Trait for formatting tokenization output

Required Methods§

Source

fn format(&self, result: &TokenizationResult) -> String

Format the tokenization result as a string

Implementors§