pub trait Notification:
Send
+ Sync
+ 'static {
// Required method
fn show(&mut self, ctx: &Context) -> bool;
}Expand description
Trait for modal Notification windows (like errors or settings dialogs).
Allows layout.rs to manage different notification types polymorphically via Box<dyn Notification>.