pub trait FilterExt<T: Type, C: Color, U: Type, D: Color>: Sized + Filter<T, C, U, D> {
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>ⓘNotable traits for AsyncFilter<'a, F, T, C, U, D>impl<'a, F: Unpin + Filter<T, C, U, D>, T: Type, C: Color, U: Unpin + Type, D: Unpin + Color> Future for AsyncFilter<'a, F, T, C, U, D> type Output = ();
{ ... }
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
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>ⓘNotable traits for AsyncFilter<'a, F, T, C, U, D>impl<'a, F: Unpin + Filter<T, C, U, D>, T: Type, C: Color, U: Unpin + Type, D: Unpin + Color> Future for AsyncFilter<'a, F, T, C, U, D> type Output = ();
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>ⓘNotable traits for AsyncFilter<'a, F, T, C, U, D>impl<'a, F: Unpin + Filter<T, C, U, D>, T: Type, C: Color, U: Unpin + Type, D: Unpin + Color> Future for AsyncFilter<'a, F, T, C, U, D> type Output = ();
Convert filter to AsyncFilter