Enum syntect::html::IncludeBackground
[−]
[src]
pub enum IncludeBackground { No, Yes, IfDifferent(Color), }
Determines how background colour attributes are generated
Variants
No
Don't include background-color
, for performance or so that you can use your own background.
Yes
Set background colour attributes on every node
IfDifferent(Color)
Only set the background-color
if it is different than the default (presumably set on a parent element)
Trait Implementations
impl Copy for IncludeBackground
[src]
impl Clone for IncludeBackground
[src]
fn clone(&self) -> IncludeBackground
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
impl Eq for IncludeBackground
[src]
impl PartialEq for IncludeBackground
[src]
fn eq(&self, __arg_0: &IncludeBackground) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IncludeBackground) -> bool
This method tests for !=
.