Searched refs:color_when (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/clap/src/output/ |
D | fmt.rs | 14 color_when: ColorChoice, field 19 pub(crate) fn new(stream: Stream, color_when: ColorChoice) -> Self { in new() 22 color_when, in new() 39 let color_when = match self.color_when { in print() localVariable 46 Stream::Stderr => BufferWriter::stderr(color_when), in print() 47 Stream::Stdout => BufferWriter::stdout(color_when), in print()
|
/external/rust/crates/clap/3.2.23/src/output/ |
D | fmt.rs | 18 color_when: ColorChoice, field 24 pub(crate) fn new(stream: Stream, color_when: ColorChoice) -> Self { in new() 27 color_when, in new() 65 let color_when = match self.color_when { in print() localVariable 72 Stream::Stderr => BufferWriter::stderr(color_when), in print() 73 Stream::Stdout => BufferWriter::stdout(color_when), in print()
|
/external/rust/crates/clap/src/error/ |
D | mod.rs | 72 color_when: ColorChoice, field 133 color_when: ColorChoice::Never, in new() 245 let color_when = if matches!( in print() localVariable 251 self.inner.color_when in print() 253 let c = Colorizer::new(self.stream(), color_when).with_content(style.into_owned()); in print() 293 pub(crate) fn set_color(mut self, color_when: ColorChoice) -> Self { in set_color() 294 self.inner.color_when = color_when; in set_color()
|
/external/rust/crates/clap/3.2.23/src/error/ |
D | mod.rs | 63 color_when: ColorChoice, field 179 color_when: ColorChoice::Never, in new() 217 pub(crate) fn set_color(mut self, color_when: ColorChoice) -> Self { in set_color() 218 self.inner.color_when = color_when; in set_color() 592 let mut c = Colorizer::new(self.stream(), self.inner.color_when); in formatted()
|