pub trait Effect {
// Required method
fn apply(&self, image: &mut DynamicImage);
}Expand description
An effect that can be applied to an image.
Required Methods§
Sourcefn apply(&self, image: &mut DynamicImage)
fn apply(&self, image: &mut DynamicImage)
Applies the effect to the given image.