Searched refs:ColorSpec (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/codespan-reporting/src/term/ |
D | config.rs | 1 use termcolor::{Color, ColorSpec}; 90 pub header_bug: ColorSpec, 93 pub header_error: ColorSpec, 96 pub header_warning: ColorSpec, 99 pub header_note: ColorSpec, 102 pub header_help: ColorSpec, 105 pub header_message: ColorSpec, 109 pub primary_label_bug: ColorSpec, 112 pub primary_label_error: ColorSpec, 115 pub primary_label_warning: ColorSpec, [all …]
|
D | renderer.rs | 3 use termcolor::{ColorSpec, WriteColor}; 975 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
|
/external/rust/crates/codespan-reporting/tests/support/ |
D | color_buffer.rs | 3 use termcolor::{ColorSpec, WriteColor}; 39 color: ColorSpec, 46 color: ColorSpec::new(), in new() 71 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 130 if color != ColorSpec::new() { in reset() 132 self.color = ColorSpec::new(); in reset()
|
/external/rust/crates/syn/tests/ |
D | zzz_stable.rs | 4 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; 24 stderr.set_color(ColorSpec::new().set_fg(Some(Color::Yellow)))?; in notice() 26 stderr.set_color(ColorSpec::new().set_bold(true).set_fg(Some(Color::Yellow)))?; in notice() 28 stderr.set_color(ColorSpec::new().set_fg(Some(Color::Yellow)))?; in notice()
|
/external/rust/crates/codespan-reporting/examples/ |
D | readme_preview.rs | 12 use codespan_reporting::term::termcolor::{Color, ColorSpec, StandardStream, WriteColor}; 232 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 243 color: ColorSpec, 250 color: ColorSpec::new(), in new() 270 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 349 if color != ColorSpec::new() { in reset() 351 self.color = ColorSpec::new(); in reset()
|
/external/rust/crates/termcolor/src/ |
D | lib.rs | 151 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()>; in set_color() 179 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 194 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 624 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 658 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 692 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 742 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 811 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 1172 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 1242 fn set_color(&mut self, _: &ColorSpec) -> io::Result<()> { in set_color() [all …]
|
/external/rust/crates/env_logger/src/fmt/writer/termcolor/ |
D | extern_impl.rs | 8 use termcolor::{self, ColorChoice, ColorSpec, WriteColor}; 44 spec: ColorSpec::new(), in style() 139 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 223 spec: ColorSpec,
|
/external/rust/crates/termcolor/ |
D | README.md | 55 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; 59 stdout.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?; 74 use termcolor::{BufferWriter, Color, ColorChoice, ColorSpec, WriteColor}; 79 buffer.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?;
|