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]

Make a new Filter out of a predicate function

[src]

Trait Implementations

impl<In: Debug, Func: Debug> Debug for Filter<In, Func> where
    Func: Fn(&In) -> bool
[src]

[src]

Formats the value using the given formatter.

impl<In, Func> PipelineEntry<In, In> for Filter<In, Func> where
    Func: Fn(&In) -> bool
[src]

[src]