pride_overlay/effects/
mod.rs

1use crate::flags::FlagData;
2
3mod overlay;
4pub use overlay::*;
5
6mod ring;
7pub use ring::*;
8
9#[cfg(target_arch = "wasm32")]
10mod wasm;
11
12/// An effect that can be applied to an image.
13pub trait Effect {
14    fn apply<F: FlagData>(&self, image: &mut image::DynamicImage, flag: F);
15}