pub trait PatternMatchesManywhere
Self: PatternMatch,{
// Required method
fn pattern_matches_conditional(
&self,
pattern_sets: &[(&str, bool)],
bounds: WordBounds,
) -> Vec<bool>;
// Provided methods
fn pattern_word_matches_conditional(
&self,
pattern_sets: &[(&str, bool)],
) -> Vec<bool> { ... }
fn pattern_matches_conditional_ci(&self, patterns: &[&str]) -> Vec<bool> { ... }
fn pattern_matches_conditional_cs(&self, patterns: &[&str]) -> Vec<bool> { ... }
fn pattern_word_matches_conditional_ci(
&self,
patterns: &[&str],
) -> Vec<bool> { ... }
fn pattern_word_matches_conditional_cs(
&self,
patterns: &[&str],
) -> Vec<bool> { ... }
}
Expand description
Test multiple false or positive patterns and return vector of booleans with the results for each item
Required Methods§
fn pattern_matches_conditional( &self, pattern_sets: &[(&str, bool)], bounds: WordBounds, ) -> Vec<bool>
Provided Methods§
fn pattern_word_matches_conditional( &self, pattern_sets: &[(&str, bool)], ) -> Vec<bool>
fn pattern_matches_conditional_ci(&self, patterns: &[&str]) -> Vec<bool>
fn pattern_matches_conditional_cs(&self, patterns: &[&str]) -> Vec<bool>
fn pattern_word_matches_conditional_ci(&self, patterns: &[&str]) -> Vec<bool>
fn pattern_word_matches_conditional_cs(&self, patterns: &[&str]) -> Vec<bool>
Implementations on Foreign Types§
Source§impl PatternMatchesMany for str
impl PatternMatchesMany for str
Source§fn pattern_matches_conditional(
&self,
pattern_sets: &[(&str, bool)],
bounds: WordBounds,
) -> Vec<bool>
fn pattern_matches_conditional( &self, pattern_sets: &[(&str, bool)], bounds: WordBounds, ) -> Vec<bool>
test for multiple conditions. All other trait methods are derived from this