Trait unimarkup_core::parser::ParserGenerator
source · pub trait ParserGenerator: Sealed {
// Required method
fn generate_parser() -> ParserFn;
}Expand description
Trait implemented by all Unimarkup elements that can generate parser function for their content.
Required Methods§
sourcefn generate_parser() -> ParserFn
fn generate_parser() -> ParserFn
Generates parser function for the given Unimarkup element.