Enum syntect::html::IncludeBackground [] [src]

pub enum IncludeBackground {
    No,
    Yes,
    IfDifferent(Color),
}

Determines how background colour attributes are generated

Variants

Don't include background-color, for performance or so that you can use your own background.

Set background colour attributes on every node

Only set the background-color if it is different than the default (presumably set on a parent element)

Trait Implementations

impl Debug for IncludeBackground
[src]

Formats the value using the given formatter.

impl PartialEq for IncludeBackground
[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 IncludeBackground
[src]

impl Clone for IncludeBackground
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IncludeBackground
[src]