pub trait SimpleFilterAll<'a, T> {
// Required method
fn filter_all_conditional(
&'a self,
pattern_sets: &[StringBounds<'_>]
) -> Vec<T>;
}
Expand description
Test multiple patterns and return a filtered vector of string slices
Required Methods§
sourcefn filter_all_conditional(&'a self, pattern_sets: &[StringBounds<'_>]) -> Vec<T>
fn filter_all_conditional(&'a self, pattern_sets: &[StringBounds<'_>]) -> Vec<T>
test for multiple conditions. All other trait methods are derived from this
Implementations on Foreign Types§
source§impl<'a> SimpleFilterAll<'a, &'a str> for [&str]
impl<'a> SimpleFilterAll<'a, &'a str> for [&str]
Filter strings by one or more StringBounds rules
fn filter_all_conditional( &'a self, pattern_sets: &[StringBounds<'_>] ) -> Vec<&'a str>
source§impl<'a> SimpleFilterAll<'a, String> for [String]
impl<'a> SimpleFilterAll<'a, String> for [String]
Variant implementation for owned strings