Searched refs:default_values_t (Results 1 – 5 of 5) sorted by relevance
/third_party/rust/crates/clap/tests/derive/ |
D | default_value.rs | 50 fn default_values_t() { in default_values_t() function 53 #[arg(default_values_t = vec![1, 2, 3])] in default_values_t() 56 #[arg(long, default_values_t = [4, 5, 6])] in default_values_t() 59 #[arg(long, default_values_t = [7, 8, 9])] in default_values_t() 62 #[arg(long, default_values_t = 10..=12)] in default_values_t() 65 #[arg(long, default_values_t = vec!["hello".to_string(), "world".to_string()])] in default_values_t() 68 #[arg(long, default_values_t = &vec!["foo".to_string(), "bar".to_string()])] in default_values_t()
|
D | value_enum.rs | 91 #[arg(value_enum, default_values_t = vec![ArgChoice::Foo, ArgChoice::Bar])] in vec_for_default_values_t() 97 default_values_t = clap::ValueEnum::value_variants() in vec_for_default_values_t()
|
/third_party/rust/crates/clap/tests/derive_ui/ |
D | default_values_t_invalid.stderr | 1 error: #[arg(default_values_t)] can be used only on Vec types 7 6 | #[arg(default_values_t = [1, 2, 3])]
|
D | default_values_t_invalid.rs | 6 #[arg(default_values_t = [1, 2, 3])]
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 619 - *(derive)* New `default_values_t` and `default_values_os_t` attributes
|