pub trait Parse<'src>: Sized {
// Required method
fn parser() -> impl Parser<'src, &'src str, Self, Err<Simple<'src, char>>>;
}Expand description
A parser whose input is &'src str (char stream) and whose error type is Simple<char>.
The lifetime 'src is the input lifetime. Output type Self is owned and does not borrow
from the input.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".