PreprocessingChain

Trait PreprocessingChain 

Source
pub trait PreprocessingChain<T> {
    // Required method
    fn with_preprocessing<F>(self, preprocessor: F) -> Self
       where F: Fn(T) -> T;
}
Expand description

Trait for method chaining with preprocessing

Required Methods§

Source

fn with_preprocessing<F>(self, preprocessor: F) -> Self
where F: Fn(T) -> T,

Apply preprocessing step and return self for chaining

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§