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> Freeze for AsyncFilter<'a, F, T, C, U, D>
impl<'a, F, T, C, U, D = C> !RefUnwindSafe for AsyncFilter<'a, F, T, C, U, D>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more