Searched refs:MagicAttrName (Results 1 – 2 of 2) sorted by relevance
/third_party/rust/crates/clap/clap_derive/src/ |
D | attr.rs | 22 pub magic: Option<MagicAttrName>, 87 "rename_all" => Some(MagicAttrName::RenameAll), in parse() 88 "rename_all_env" => Some(MagicAttrName::RenameAllEnv), in parse() 89 "skip" => Some(MagicAttrName::Skip), in parse() 90 "next_display_order" => Some(MagicAttrName::NextDisplayOrder), in parse() 91 "next_help_heading" => Some(MagicAttrName::NextHelpHeading), in parse() 92 "default_value_t" => Some(MagicAttrName::DefaultValueT), in parse() 93 "default_values_t" => Some(MagicAttrName::DefaultValuesT), in parse() 94 "default_value_os_t" => Some(MagicAttrName::DefaultValueOsT), in parse() 95 "default_values_os_t" => Some(MagicAttrName::DefaultValuesOsT), in parse() [all …]
|
D | item.rs | 340 Some(MagicAttrName::FromGlobal) => { in infer_kind() 353 Some(MagicAttrName::Subcommand) if attr.value.is_none() => { in infer_kind() 366 Some(MagicAttrName::ExternalSubcommand) if attr.value.is_none() => { in infer_kind() 374 Some(MagicAttrName::Flatten) if attr.value.is_none() => { in infer_kind() 387 Some(MagicAttrName::Skip) if actual_attr_kind != AttrKind::Group => { in infer_kind() 439 Some(MagicAttrName::Short) if attr.value.is_none() => { in push_attrs() 449 Some(MagicAttrName::Long) if attr.value.is_none() => { in push_attrs() 455 Some(MagicAttrName::ValueParser) if attr.value.is_none() => { in push_attrs() 467 Some(MagicAttrName::Action) if attr.value.is_none() => { in push_attrs() 479 Some(MagicAttrName::Env) if attr.value.is_none() => { in push_attrs() [all …]
|