pub trait ParserFilter<'a>: ParserRunner<'a> {
// Required method
fn with_filter<F>(self, f: F) -> Self
where F: Fn(&Self::Output) -> bool + 'a,
Self::Input: 'a,
Self::Output: 'a,
Self: Sized;
// Provided method
fn with_filter_not<F>(self, f: F) -> Self
where F: Fn(&Self::Output) -> bool + 'a,
Self::Input: 'a,
Self::Output: 'a,
Self: Sized { ... }
}
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.