Effect

Trait Effect 

Source
pub trait Effect {
    // Required method
    fn apply(&self, image: &mut DynamicImage);
}
Expand description

An effect that can be applied to an image.

Required Methods§

Source

fn apply(&self, image: &mut DynamicImage)

Applies the effect to the given image.

Implementors§

Source§

impl Effect for Ring<'_>

Source§

impl<'a> Effect for Overlay<'a>