(&self, component: &mut dyn Component)
| 30 | } |
| 31 | |
| 32 | pub fn apply_to(&self, component: &mut dyn Component) { |
| 33 | if let Some(style) = self.styles.get("default") { |
| 34 | component.apply_style(style.clone()); |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | pub fn create_dark_theme() -> Theme { |
nothing calls this directly
no test coverage detected