Expand description
Pipelines are used to compose several filters
Implementations
sourceimpl<T: Type, C: Color, U: Type, D: Color> Pipeline<T, C, U, D>
impl<T: Type, C: Color, U: Type, D: Color> Pipeline<T, C, U, D>
sourcepub fn then(self, filter: impl 'static + Filter<T, C, U, D>) -> Self
pub fn then(self, filter: impl 'static + Filter<T, C, U, D>) -> Self
Append a filter to a pipeline
sourcepub fn to_async<'a>(
&'a self,
input: &'a [&'a Image<T, C>],
output: &'a mut Image<U, D>
) -> AsyncPipeline<'a, T, C, U, D>ⓘNotable traits for AsyncPipeline<'a, T, C, U, D>impl<'a, T: Type, C: Color, U: Unpin + Type, D: Unpin + Color> Future for AsyncPipeline<'a, T, C, U, D> type Output = ();
pub fn to_async<'a>(
&'a self,
input: &'a [&'a Image<T, C>],
output: &'a mut Image<U, D>
) -> AsyncPipeline<'a, T, C, U, D>ⓘNotable traits for AsyncPipeline<'a, T, C, U, D>impl<'a, T: Type, C: Color, U: Unpin + Type, D: Unpin + Color> Future for AsyncPipeline<'a, T, C, U, D> type Output = ();
Convert to AsyncPipeline
Trait Implementations
Auto Trait Implementations
impl<T, C, U = T, D = C> !RefUnwindSafe for Pipeline<T, C, U, D>
impl<T, C, U = T, D = C> !Send for Pipeline<T, C, U, D>
impl<T, C, U, D> Sync for Pipeline<T, C, U, D>
impl<T, C, U, D> Unpin for Pipeline<T, C, U, D>
impl<T, C, U = T, D = C> !UnwindSafe for Pipeline<T, C, U, D>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more