ThemeConfig

Trait ThemeConfig 

Source
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§

Source

fn is_dirty(&self) -> bool

Has the config ever been updated?

Source

fn apply_startup(&self)

Apply startup effects

Source

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.

Implementors§