Skip to main content

FormatParser

Trait FormatParser 

Source
pub trait FormatParser {
    // Required method
    fn parse(&self, input: &str) -> Vec<Region>;
}
Expand description

Trait for format-specific parsers that classify text into regions.

Required Methods§

Source

fn parse(&self, input: &str) -> Vec<Region>

Implementors§