Trait image2::FilterExt

source ·
pub trait FilterExt<T: Type, C: Color, U: Type, D: Color>: Sized + Filter<T, C, U, D> {
    // Provided methods
    fn to_async<'a>(
        &'a self,
        mode: AsyncMode,
        input: Input<'a, T, C>,
        output: &'a mut Image<U, D>
    ) -> AsyncFilter<'a, Self, T, C, U, D>  { ... }
    fn then(
        self,
        other: impl 'static + Filter<T, C, U, D>
    ) -> Pipeline<T, C, U, D>
       where Self: 'static { ... }
}
Expand description

Filter extension methods

Provided Methods§

source

fn to_async<'a>( &'a self, mode: AsyncMode, input: Input<'a, T, C>, output: &'a mut Image<U, D> ) -> AsyncFilter<'a, Self, T, C, U, D>

Convert filter to AsyncFilter

source

fn then(self, other: impl 'static + Filter<T, C, U, D>) -> Pipeline<T, C, U, D>where Self: 'static,

Create a new pipeline

Implementors§

source§

impl<T: Type, C: Color, U: Type, D: Color, F: Filter<T, C, U, D>> FilterExt<T, C, U, D> for F