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

Object Safety§

This trait is not object safe.

Implementors§