Home
last modified time | relevance | path

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

/third_party/rust/crates/termcolor/src/
Dlib.rs1573 fn push(&mut self, spec: Option<ColorSpec>) { in push()
1647 pub struct ColorSpec { struct
1659 impl Default for ColorSpec { argument
1675 impl ColorSpec { impl
1687 pub fn set_fg(&mut self, color: Option<Color>) -> &mut ColorSpec { in set_fg()
1698 pub fn set_bg(&mut self, color: Option<Color>) -> &mut ColorSpec { in set_bg()
1713 pub fn set_bold(&mut self, yes: bool) -> &mut ColorSpec { in set_bold()
1728 pub fn set_dimmed(&mut self, yes: bool) -> &mut ColorSpec { in set_dimmed()
1743 pub fn set_italic(&mut self, yes: bool) -> &mut ColorSpec { in set_italic()
1758 pub fn set_underline(&mut self, yes: bool) -> &mut ColorSpec { in set_underline()
[all …]
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Dconfig.rs135 pub fn header(&self, severity: Severity) -> &ColorSpec { in header()
146 pub fn label(&self, severity: Severity, label_style: LabelStyle) -> &ColorSpec { in label()