Searched refs:default_value_t (Results 1 – 12 of 12) sorted by relevance
/third_party/rust/crates/clap/tests/derive/ |
D | deny_warnings.rs | 27 #[arg(value_parser = try_str, default_value_t)] in warning_never_struct() 43 #[arg(value_parser = try_str, default_value_t)] in warning_never_enum()
|
D | default_value.rs | 22 fn default_value_t() { in default_value_t() function 25 #[arg(default_value_t = 3)] in default_value_t() 39 #[arg(default_value_t)] in auto_default_value_t()
|
D | value_enum.rs | 57 #[arg(value_enum, default_value_t)] in default_value()
|
/third_party/rust/crates/clap/examples/ |
D | typed-derive.rs | 31 default_value_t = 22, 40 default_value_t = foreign_crate::LogLevel::Info,
|
D | demo.rs | 12 #[arg(short, long, default_value_t = 1)]
|
D | git-derive.rs | 37 default_value_t = ColorWhen::Auto,
|
/third_party/rust/crates/clap/tests/derive_ui/ |
D | default_value_t_invalid.rs | 14 #[arg(default_value_t = -10)]
|
D | bool_value_enum.rs | 6 #[arg(short, value_enum, default_value_t)]
|
D | default_value_t_invalid.stderr | 4 14 | #[arg(default_value_t = -10)]
|
D | bool_value_enum.stderr | 4 6 | #[arg(short, value_enum, default_value_t)]
|
/third_party/rust/crates/clap/examples/tutorial_derive/ |
D | 03_05_default_values.rs | 6 #[arg(default_value_t = 2020)]
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 363 dealing with owned data difficult, like `#[arg(default_value_t)]` generating a 1110 - Don't warn when using `default_value_t` derive attribute with a `Subcommand` (#3245) 1299 - `#[clap(default_value)]` is replaced with `#[clap(default_value_t)]` ([clap-rs/clap#1694](https:/… 1369 - Allow defaulting with native types via new `default_value_t [= <expr>]` attribute ([clap-rs/clap#…
|