Struct pipelines::Filter
[−]
[src]
pub struct Filter<In, Func> where
Func: Fn(&In) -> bool, { /* fields omitted */ }
A pipeline entry with a predicate that values must beet to be sent further in the pipeline
Methods
impl<In, Func> Filter<In, Func> where
Func: Fn(&In) -> bool,
[src]
Func: Fn(&In) -> bool,
Make a new Filter
out of a predicate function
Trait Implementations
impl<In: Debug, Func: Debug> Debug for Filter<In, Func> where
Func: Fn(&In) -> bool,
[src]
Func: Fn(&In) -> bool,
impl<In, Func> PipelineEntry<In, In> for Filter<In, Func> where
Func: Fn(&In) -> bool,
[src]
Func: Fn(&In) -> bool,