Struct syntect::highlighting::Style [] [src]

pub struct Style {
    pub foreground: Color,
    pub background: Color,
    pub font_style: FontStyle,
}

The foreground, background and font style

Fields

Foreground color.

Background color.

Style of the font.

Methods

impl Style
[src]

Applies a change to this style, yielding a new changed style

Trait Implementations

impl Debug for Style
[src]

Formats the value using the given formatter.

impl Clone for Style
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Style
[src]

impl PartialEq for Style
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Style
[src]