Home
last modified time | relevance | path

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

/external/rust/crates/clap_derive/src/derives/
Dargs.rs186 let subcmd_type = match (**ty, sub_type(&field.ty)) { in gen_augment() localVariable
209 … let #app_var = <#subcmd_type as clap::Subcommand>::augment_subcommands( #app_var ); in gen_augment()
437 let subcmd_type = match (**ty, sub_type(&field.ty)) { in gen_constructor() localVariable
445 …if #arg_matches.subcommand_name().map(<#subcmd_type as clap::Subcommand>::has_subcommand).unwrap_o… in gen_constructor()
446 … Some(<#subcmd_type as clap::FromArgMatches>::from_arg_matches_mut(#arg_matches)?) in gen_constructor()
456 … <#subcmd_type as clap::FromArgMatches>::from_arg_matches_mut(#arg_matches)? in gen_constructor()
557 let subcmd_type = match (**ty, sub_type(&field.ty)) { in gen_updater() localVariable
563 … <#subcmd_type as clap::FromArgMatches>::update_from_arg_matches_mut(#field_name, #arg_matches)?; in gen_updater()
571 … *#field_name = Some(<#subcmd_type as clap::FromArgMatches>::from_arg_matches_mut( in gen_updater()