Trait agnes::frame::Filter
[−]
[src]
pub trait Filter<T> { fn filter<F: Fn(&T) -> bool>(
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>; }
Trait that provides a function for filtering a data structure's contents.
Required Methods
fn filter<F: Fn(&T) -> bool>(
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
Filter the contents of this data structure by applying the supplied predicate on the specified field.