[−][src]Trait lib::Query
A Query matches against elements of some kind,
Required methods
Loading content...Provided methods
fn matching_elements<'a>(
&self,
a: impl IntoIterator<Item = &'a T>
) -> Vec<&'a T>
&self,
a: impl IntoIterator<Item = &'a T>
) -> Vec<&'a T>
collects a vector of all elements that match the query.
Implementors
impl<F: Fn(&T) -> bool, T> Query<T> for F
[src]
fn is_match(&self, t: &T) -> bool
[src]
fn matching_elements<'a>(
&self,
a: impl IntoIterator<Item = &'a T>
) -> Vec<&'a T>
[src]
&self,
a: impl IntoIterator<Item = &'a T>
) -> Vec<&'a T>