Struct pipelines::Mapper [] [src]

pub struct Mapper<In, Out, Func> where
    Func: Fn(In) -> Out, 
{ /* fields omitted */ }

A pipeline entry representing a function to be run on each value and its result to be sent down the pipeline

Methods

impl<In, Out, Func> Mapper<In, Out, Func> where
    Func: Fn(In) -> Out, 
[src]

Make a new Mapper out of a function

[src]

Trait Implementations

impl<In: Debug, Out: Debug, Func: Debug> Debug for Mapper<In, Out, Func> where
    Func: Fn(In) -> Out, 
[src]

[src]

Formats the value using the given formatter.

impl<In, Out, Func> PipelineEntry<In, Out> for Mapper<In, Out, Func> where
    Func: Fn(In) -> Out, 
[src]

[src]

impl<In, Out, Func> Clone for Mapper<In, Out, Func> where
    Func: Fn(In) -> Out + Copy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<In, Out, Func> Copy for Mapper<In, Out, Func> where
    Func: Fn(In) -> Out + Copy
[src]