Struct egui_theme::EguiTheme [−][src]
pub struct EguiTheme { /* fields omitted */ }Expand description
The EguiTheme is the serializable contents of the relevant font information. this is only useful for writing and reading the Style and FontDefinitions from disk.
This is essentially a container for Style and FontDefinitions
In addition, it will also serialize the egui::FontData into base64 format to encode the font data directly into the theme
Implementations
Create a new style from
style the egui style information
font_definitions the current font definitions.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more