Enum syntect::html::IncludeBackground  
source · pub enum IncludeBackground {
    No,
    Yes,
    IfDifferent(Color),
}Expand description
Determines how background color attributes are generated
Variants§
No
Don’t include background-color, for performance or so that you can use your own background.
Yes
Set background color 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§
source§impl Clone for IncludeBackground
 
impl Clone for IncludeBackground
source§fn clone(&self) -> IncludeBackground
 
fn clone(&self) -> IncludeBackground
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for IncludeBackground
 
impl Debug for IncludeBackground
source§impl PartialEq for IncludeBackground
 
impl PartialEq for IncludeBackground
source§fn eq(&self, other: &IncludeBackground) -> bool
 
fn eq(&self, other: &IncludeBackground) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for IncludeBackground
impl Eq for IncludeBackground
impl StructuralEq for IncludeBackground
impl StructuralPartialEq for IncludeBackground
Auto Trait Implementations§
impl RefUnwindSafe for IncludeBackground
impl Send for IncludeBackground
impl Sync for IncludeBackground
impl Unpin for IncludeBackground
impl UnwindSafe for IncludeBackground
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more