Trait IteratorMatcherExt
pub trait IteratorMatcherExt<'a, M, Input>: Iterator<Item = &'a M> + 'awhere
M: Matcher<Input>,{
// Required methods
fn matches_and(self, ext: Option<&Extensions>, input: &Input) -> bool;
fn matches_or(self, ext: Option<&Extensions>, input: &Input) -> bool;
}Required Methods§
fn matches_and(self, ext: Option<&Extensions>, input: &Input) -> bool
fn matches_and(self, ext: Option<&Extensions>, input: &Input) -> bool
Matches in case all Matcher elements match for the given Input
within the specified Extensions.
fn matches_or(self, ext: Option<&Extensions>, input: &Input) -> bool
fn matches_or(self, ext: Option<&Extensions>, input: &Input) -> bool
Matches in case any of the Matcher elements match for the given Input
within the specified Extensions.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".