Struct syntect::highlighting::Theme [−][src]
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
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
Auto Trait Implementations
impl RefUnwindSafe for Theme
impl UnwindSafe for Theme
Blanket Implementations
Mutably borrows from an owned value. Read more