pub trait ThemeProvider {
// Required method
fn nuance_theme(&self) -> Theme;
}Expand description
Implemented by application theme types to expose them as a Theme.
Required Methods§
Sourcefn nuance_theme(&self) -> Theme
fn nuance_theme(&self) -> Theme
Produce the shared Theme for this application theme.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".