//! Messages from worker threads to the UI thread. use crate::song::Song; use eframe::egui; use std::sync::mpsc::Sender; pub enum Msg { ScanProgress { done: usize, total: usize }, ScanFinished { added: usize, updated: usize, removed: usize }, /// Cover for the playing song, already scaled for the GPU (None = no art). Art { ident: String, art: Option>, path: String }, /// Lyrics text and source label ("loading", "error", "none: