Home
last modified time | relevance | path

Searched refs:ColorWhen (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/clap/src/
Dfmt.rs14 pub enum ColorWhen { enum
44 pub when: ColorWhen,
49 when: ColorWhen,
55 ColorWhen::Auto => Format::$c($m),
56 ColorWhen::Always => Format::$c($m),
57 ColorWhen::Never => Format::None($m),
68 ColorWhen::Auto if is_a_tty && !is_term_dumb => ColorWhen::Auto, in new()
69 ColorWhen::Auto => ColorWhen::Never, in new()
112 when: ColorWhen::Auto, in default()
Derrors.rs12 use fmt::{ColorWhen, Colorizer, ColorizerOption};
415 color: ColorWhen, in argument_conflict() argument
450 pub fn empty_value<U>(arg: &AnyArg, usage: U, color: ColorWhen) -> Self in empty_value()
480 color: ColorWhen, in invalid_value() argument
526 color: ColorWhen, in invalid_subcommand() argument
562 pub fn unrecognized_subcommand<S, N>(subcmd: S, name: N, color: ColorWhen) -> Self in unrecognized_subcommand()
590 pub fn missing_required_argument<R, U>(required: R, usage: U, color: ColorWhen) -> Self in missing_required_argument()
615 pub fn missing_subcommand<N, U>(name: N, usage: U, color: ColorWhen) -> Self in missing_subcommand()
640 pub fn invalid_utf8<U>(usage: U, color: ColorWhen) -> Self in invalid_utf8()
663 pub fn too_many_values<V, U>(val: V, arg: &AnyArg, usage: U, color: ColorWhen) -> Self in too_many_values()
[all …]
/external/rust/crates/clap/src/app/
Dparser.rs34 use fmt::ColorWhen;
2153 pub fn color(&self) -> ColorWhen { in color() argument
2158 ColorWhen::Never in color()
2161 ColorWhen::Always in color()
2164 ColorWhen::Auto in color()