pub trait ThemeConfig:
Clone
+ Debug
+ 'static
+ for<'a> Deserialize<'a>
+ Serialize {
// Required methods
fn is_dirty(&self) -> bool;
fn apply_startup(&self);
fn raster(&self) -> &RasterConfig;
}Expand description
Requirements on theme config (with config feature)
Required Methods§
Sourcefn apply_startup(&self)
fn apply_startup(&self)
Apply startup effects
Sourcefn raster(&self) -> &RasterConfig
fn raster(&self) -> &RasterConfig
Get raster config
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.