PipeExt

Trait PipeExt 

Source
pub trait PipeExt {
    // Provided method
    fn pipe<F, R>(self, f: F) -> R
       where F: FnOnce(Self) -> R,
             Self: Sized { ... }
}
Expand description

Functional composition helpers

Provided Methods§

Source

fn pipe<F, R>(self, f: F) -> R
where F: FnOnce(Self) -> R, Self: Sized,

Apply a function to self (functional pipe operator)

Implementors§