Home
last modified time | relevance | path

Searched refs:value_variants (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/clap/clap_derive/src/derives/
Dvalue_enum.rs53 let value_variants = gen_value_variants(&lits); in gen_for_enum() localVariable
71 #value_variants in gen_for_enum()
107 fn value_variants<'a>() -> &'a [Self]{ in gen_value_variants()
/third_party/rust/crates/clap/src/util/
Dcolor.rs80 for variant in Self::value_variants() { in from_str()
90 fn value_variants<'a>() -> &'a [Self] { in value_variants() method
/third_party/rust/crates/clap/examples/tutorial_builder/
D04_01_enum.rs11 fn value_variants<'a>() -> &'a [Self] { in value_variants() method
36 for variant in Self::value_variants() { in from_str()
/third_party/rust/crates/clap/clap_complete/src/shells/
Dshell.rs40 for variant in Self::value_variants() { in from_str()
51 fn value_variants<'a>() -> &'a [Self] { in value_variants() method
/third_party/rust/crates/clap/tests/derive/
Dvalue_enum.rs97 default_values_t = clap::ValueEnum::value_variants() in vec_for_default_values_t()
148 default_values_os_t = clap::ValueEnum::value_variants() in vec_for_default_values_os_t()
407 <ArgChoice as clap::ValueEnum>::value_variants() in skip_variant()
438 <ArgChoice as clap::ValueEnum>::value_variants() in skip_non_unit_variant()
/third_party/rust/crates/clap/tests/derive_ui/
Dvalue_enum_on_struct.rs7 println!("{:?}", Opt::value_variants()); in main()
/third_party/rust/crates/clap/src/
Dderive.rs376 fn value_variants<'a>() -> &'a [Self]; in value_variants() method
380 Self::value_variants() in from_str()
/third_party/rust/crates/clap/clap_derive/src/
Ddummies.rs79 fn value_variants<'a>() -> &'a [Self]{ in value_enum()
/third_party/rust/crates/clap/src/builder/
Dvalue_parser.rs1047 E::value_variants() in parse_ref()
1064 let value = ok!(E::value_variants() in parse_ref()
1088 E::value_variants() in possible_values()
/third_party/rust/crates/clap/clap_complete/src/
Ddynamic.rs223 fn value_variants<'a>() -> &'a [Self] { in value_variants() method