pub trait Window: 'static {
fn size(&self) -> &dyn ThemeSize;
fn as_any_mut(&mut self) -> &mut dyn Any;
}
Expand description
Per-window storage for the theme
Constructed via Theme::new_window
.
The main reason for this separation is to allow proper handling of multi-window applications across screens with differing DPIs.