Struct syntect::highlighting::Theme
source · pub struct Theme {
pub name: Option<String>,
pub author: Option<String>,
pub settings: ThemeSettings,
pub scopes: Vec<ThemeItem>,
}
Expand description
A theme parsed from a .tmTheme
file.
This contains additional fields useful for a theme list as well as settings
for styling your editor.
Fields§
§name: Option<String>
§settings: ThemeSettings
External settings for the editor using this theme
scopes: Vec<ThemeItem>
The styling rules for the viewed text
Trait Implementations§
source§impl<'de> Deserialize<'de> for Theme
impl<'de> Deserialize<'de> for Theme
source§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