Struct transducers::Filtering
[−]
[src]
pub struct Filtering<'p, T: 'p, P: Fn(&T) -> bool + 'p> { /* fields omitted */ }
The filtering transducer that passes through elements that satisfy a predicate.
Methods
impl<'p, T, P: Fn(&T) -> bool + 'p> Filtering<'p, T, P>
[src]
fn new(p: &'p P) -> Filtering<'p, T, P>
The filtering transducer passes through all elements for which the predicate p
is true.