fn map_theme<F, A>(self, mapper: F) -> A
    where
        F: FnOnce(&'static Theme) -> A,
    {
        let theme = THEMES.get(self.as_str_id()).unwrap_ji();

        mapper(theme)
    }
//It's safe to just call this whenever, it will lazily init the config
It's safe to just call this whenever, it will lazily init the config
It ' s safe to just call this whenever it will lazily init the config
fn map_theme<F, A>(self, mapper: F) -> A
    where
        F: FnOnce(&'static Theme) -> A,
    {
        let theme = THEMES.get(self.as_str_id()).unwrap_ji();
        mapper(theme)
    }
fn map_theme < F , A > ( self , mapper : F ) -> A where F : FnOnce ( & ' static Theme ) -> A , { let theme = THEMES . get ( self . as_str_id ( ) ) . unwrap_ji ( ) ; mapper ( theme ) }
It's safe to just call this whenever, it will lazily init the config
It ' s safe to just call this whenever it will lazily init the config
self
mapper
F
self
mapper
F