pub trait PrimitiveParsers: Parsers {
// Required methods
fn end<'a, I>() -> Self::P<'a, I, ()>
where I: Debug + Display + 'a;
fn empty<'a, I>() -> Self::P<'a, I, ()>;
// Provided method
fn begin<'a, I>() -> Self::P<'a, I, ()> { ... }
}
Required Methods§
Provided 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.