Searched refs:MagicAttrName (Results 1 – 2 of 2) sorted by relevance
/third_party/rust/crates/clap/clap_derive/src/ |
D | attr.rs | 20 pub magic: Option<MagicAttrName>, 80 "rename_all" => Some(MagicAttrName::RenameAll), in parse() 81 "rename_all_env" => Some(MagicAttrName::RenameAllEnv), in parse() 82 "skip" => Some(MagicAttrName::Skip), in parse() 83 "next_display_order" => Some(MagicAttrName::NextDisplayOrder), in parse() 84 "next_help_heading" => Some(MagicAttrName::NextHelpHeading), in parse() 85 "default_value_t" => Some(MagicAttrName::DefaultValueT), in parse() 86 "default_values_t" => Some(MagicAttrName::DefaultValuesT), in parse() 87 "default_value_os_t" => Some(MagicAttrName::DefaultValueOsT), in parse() 88 "default_values_os_t" => Some(MagicAttrName::DefaultValuesOsT), in parse() [all …]
|
D | item.rs | 339 Some(MagicAttrName::FromGlobal) => { in infer_kind() 352 Some(MagicAttrName::Subcommand) if attr.value.is_none() => { in infer_kind() 365 Some(MagicAttrName::ExternalSubcommand) if attr.value.is_none() => { in infer_kind() 373 Some(MagicAttrName::Flatten) if attr.value.is_none() => { in infer_kind() 386 Some(MagicAttrName::Skip) if actual_attr_kind != AttrKind::Group => { in infer_kind() 440 Some(MagicAttrName::Short) if attr.value.is_none() => { in push_attrs() 450 Some(MagicAttrName::Long) if attr.value.is_none() => { in push_attrs() 456 Some(MagicAttrName::ValueParser) if attr.value.is_none() => { in push_attrs() 468 Some(MagicAttrName::Action) if attr.value.is_none() => { in push_attrs() 480 Some(MagicAttrName::Env) if attr.value.is_none() => { in push_attrs() [all …]
|