Struct syntect::highlighting::ScoredStyle [−][src]
pub struct ScoredStyle {
pub foreground: (MatchPower, Color),
pub background: (MatchPower, Color),
pub font_style: (MatchPower, FontStyle),
}
Fields
foreground: (MatchPower, Color)
background: (MatchPower, Color)
font_style: (MatchPower, FontStyle)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ScoredStyle
impl Send for ScoredStyle
impl Sync for ScoredStyle
impl Unpin for ScoredStyle
impl UnwindSafe for ScoredStyle
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.