Struct image2::AsyncFilter
source · [−]pub struct AsyncFilter<'a, F: Filter<T, C, U, D>, T: 'a + Type, C: Color, U: 'a + Type, D: Color = C> {
pub filter: &'a F,
pub output: &'a mut Image<U, D>,
pub input: Input<'a, T, C>,
/* private fields */
}
Expand description
A Filter
that can be executed using async
Fields
filter: &'a F
Regular filter
output: &'a mut Image<U, D>
Output image
input: Input<'a, T, C>
Input images
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, F, T, C, U, D> RefUnwindSafe for AsyncFilter<'a, F, T, C, U, D> where
C: RefUnwindSafe,
D: RefUnwindSafe,
F: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, F, T, C, U, D> Send for AsyncFilter<'a, F, T, C, U, D>
impl<'a, F, T, C, U, D> Sync for AsyncFilter<'a, F, T, C, U, D>
impl<'a, F, T, C, U, D> Unpin for AsyncFilter<'a, F, T, C, U, D>
impl<'a, F, T, C, U, D = C> !UnwindSafe for AsyncFilter<'a, F, 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
sourceimpl<F> IntoFuture for F where
F: Future,
impl<F> IntoFuture for F where
F: Future,
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more