use iced::Element;
pub trait Explainer<'a, M> {
fn explain(self) -> Element<'a, M>;
}
impl<'a, M: 'a, E> Explainer<'a, M> for E
where
E: Into<Element<'a, M>>,
{
fn explain(self) -> Element<'a, M> {
self.into().explain(iced::Color::from_rgb8(255, 0, 0))
}
}
mod app;
mod background_image;
mod canvas;
mod clipboard;
mod config;
mod corners;
mod icons;
mod message;
mod rectangle;
mod screenshot;
mod selection;
mod theme;
mod widgets;
#[cfg(target_os = "linux")]
pub use clipboard::{CLIPBOARD_DAEMON_ID, run_clipboard_daemon};
pub use app::App;
pub use app::SAVED_IMAGE;
pub use config::CONFIG;