Trait ParserOutput

Source
pub trait ParserOutput {
    // Required methods
    fn set_match(&mut self, k: &str, m: Match);
    fn name() -> &'static str;
}
Expand description

The trait for the output of a parser created by the parser! macro.

Required Methods§

Source

fn set_match(&mut self, k: &str, m: Match)

Source

fn name() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§