pub trait Parser {
// Required method
fn parse(input: &str) -> IResult<&str, Box<Self>, VerboseError<&str>>;
}
Expand description
Trait which specifies the function “parse”, the function which gets generated by TreeBuilder.
Required Methods§
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.