Home
last modified time | relevance | path

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

/external/python/bumble/bumble/
Dcolors.py37 ColorSpec = Union[str, int] variable
40 def _join(*values: ColorSpec) -> str:
44 def _color_code(spec: ColorSpec, base: int) -> str:
60 fg: Optional[ColorSpec] = None,
61 bg: Optional[ColorSpec] = None,
/external/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 …]
/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()
/external/rust/crates/libtest-mimic/src/
Dprinter.rs282 fn color_of_outcome(outcome: &Outcome) -> ColorSpec { in color_of_outcome()