Searched refs:has_subcommand (Results 1 – 6 of 6) sorted by relevance
69 let has_subcommand = gen_has_subcommand(variants); in gen_for_enum() localVariable118 fn has_subcommand(__clap_name: &str) -> bool { in gen_for_enum()119 #has_subcommand in gen_for_enum()395 if <#ty as clap::Subcommand>::has_subcommand(__clap_name) { in gen_has_subcommand()523 .map(|__clap_name| <#ty as clap::Subcommand>::has_subcommand(__clap_name)) in gen_from_arg_matches()648 if <#ty as clap::Subcommand>::has_subcommand(__clap_name) { in gen_update_from_arg_matches()
445 …rg_matches.subcommand_name().map(<#subcmd_type as clap::Subcommand>::has_subcommand).unwrap_or(fal… in gen_constructor()
342 fn has_subcommand(name: &str) -> bool; in has_subcommand() method463 fn has_subcommand(name: &str) -> bool { in has_subcommand() method464 <T as Subcommand>::has_subcommand(name) in has_subcommand()
575 assert!(Subcommands::has_subcommand("add")); in skip_subcommand()576 assert!(Subcommands::has_subcommand("remove")); in skip_subcommand()577 assert!(!Subcommands::has_subcommand("skip")); in skip_subcommand()578 assert!(!Subcommands::has_subcommand("other")); in skip_subcommand()
63 fn has_subcommand(name: &str) -> bool { in has_subcommand() method
55 fn has_subcommand(name: &str) -> bool { in subcommand()