Struct syntect::highlighting::ThemeItem
[−]
[src]
pub struct ThemeItem {
pub scope: ScopeSelectors,
pub style: StyleModifier,
}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
Trait Implementations
impl Clone for ThemeItem[src]
fn clone(&self) -> ThemeItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more