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

Target scope name.

Trait Implementations

impl Clone for ThemeItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ThemeItem
[src]

Formats the value using the given formatter.

impl Default for ThemeItem
[src]

Returns the "default value" for a type. Read more