Searched refs:ColorSpec (Results 1 – 11 of 11) sorted by relevance
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
D | config.rs | 1 use termcolor::{Color, ColorSpec}; 86 pub header_bug: ColorSpec, 89 pub header_error: ColorSpec, 92 pub header_warning: ColorSpec, 95 pub header_note: ColorSpec, 98 pub header_help: ColorSpec, 101 pub header_message: ColorSpec, 105 pub primary_label_bug: ColorSpec, 108 pub primary_label_error: ColorSpec, 111 pub primary_label_warning: ColorSpec, [all …]
|
D | renderer.rs | 3 use termcolor::{ColorSpec, WriteColor}; 976 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
|
/third_party/rust/crates/codespan/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()
|
/third_party/rust/crates/termcolor/src/ |
D | lib.rs | 143 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()>; in set_color() 171 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 186 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 672 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 706 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 740 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 790 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 859 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 1223 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 1294 fn set_color(&mut self, _: &ColorSpec) -> io::Result<()> { in set_color() [all …]
|
/third_party/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()
|
/third_party/rust/crates/codespan/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()
|
/third_party/rust/crates/syn/tests/features/macro/ |
D | lib.rs | 6 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; 25 let yellow = ColorSpec::new().set_fg(Some(Color::Yellow)).clone(); in check() 39 let red = ColorSpec::new().set_fg(Some(Color::Red)).clone(); in check()
|
/third_party/rust/crates/quote/benches/ |
D | timer.rs | 3 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; 15 _ = writer.set_color(ColorSpec::new().set_fg(Some(Color::Magenta))); in time()
|
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/ |
D | extern_impl.rs | 9 use termcolor::{self, ColorChoice, ColorSpec, WriteColor}; 45 spec: ColorSpec::new(), in style() 160 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 244 spec: ColorSpec,
|
/third_party/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)))?;
|
/third_party/rust/crates/clap/src/builder/ |
D | styled_str.rs | 204 let mut color = termcolor::ColorSpec::new(); in write_colored()
|