Function image2::filter::if_then_else
source · pub fn if_then_else<F: Sync + Fn(Point, &Input<'_, T, C>) -> bool, G: Filter<T, C, U, D>, H: Filter<T, C, U, D>, T: Type, C: Color, U: Type, D: Color>(
cond: F,
then: G,
else_: H
) -> impl Filter<T, C, U, D>
Expand description
Create new conditional filter