Home
last modified time | relevance | path

Searched defs:ColorSpec (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/termcolor/src/
Dlib.rs1492 fn push(&mut self, spec: Option<ColorSpec>) { in push()
1566 pub struct ColorSpec { struct
1577 impl Default for ColorSpec { argument
1592 impl ColorSpec { implementation
1604 pub fn set_fg(&mut self, color: Option<Color>) -> &mut ColorSpec { in set_fg()
1615 pub fn set_bg(&mut self, color: Option<Color>) -> &mut ColorSpec { in set_bg()
1630 pub fn set_bold(&mut self, yes: bool) -> &mut ColorSpec { in set_bold()
1645 pub fn set_dimmed(&mut self, yes: bool) -> &mut ColorSpec { in set_dimmed()
1660 pub fn set_italic(&mut self, yes: bool) -> &mut ColorSpec { in set_italic()
1675 pub fn set_underline(&mut self, yes: bool) -> &mut ColorSpec { in set_underline()
[all …]
/external/rust/crates/codespan-reporting/src/term/
Dconfig.rs139 pub fn header(&self, severity: Severity) -> &ColorSpec { in header()
150 pub fn label(&self, severity: Severity, label_style: LabelStyle) -> &ColorSpec { in label()