Struct syntect::highlighting::ThemeItem [−][src]
pub struct ThemeItem {
pub scope: ScopeSelectors,
pub style: StyleModifier,
}
Expand description
A component of a theme meant to highlight a specific thing (e.g string literals) in a certain way.
Fields
scope: ScopeSelectors
Target scope name.
style: StyleModifier
The style to use for this component
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 ThemeItem
impl UnwindSafe for ThemeItem
Blanket Implementations
Mutably borrows from an owned value. Read more