pub trait Effect {
// Required method
fn apply<F: FlagData>(&self, image: &mut DynamicImage, flag: F);
}Expand description
An effect that can be applied to an image.
Required Methods§
fn apply<F: FlagData>(&self, image: &mut DynamicImage, flag: F)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.