Searched refs:from_subcommand (Results 1 – 2 of 2) sorted by relevance
1148 fn from_subcommand<'a, 'b>(_sub: (&'b str, Option<&'b clap::ArgMatches<'a>>)) -> Option<Self> in from_subcommand() method1173 fn from_subcommand<'a, 'b>(sub: (&'b str, Option<&'b clap::ArgMatches<'a>>)) -> Option<Self> { in from_subcommand() method1174 <T as StructOptInternal>::from_subcommand(sub).map(Box::new) in from_subcommand()
280 #field_name: <#subcmd_type as ::structopt::StructOptInternal>::from_subcommand( in gen_constructor()565 <#name as ::structopt::StructOptInternal>::from_subcommand(matches.subcommand()) in gen_from_clap_enum()710 <#ty as ::structopt::StructOptInternal>::from_subcommand(#other) in gen_from_subcommand()724 fn from_subcommand<'a, 'b>( in gen_from_subcommand()820 let from_subcommand = gen_from_subcommand(name, variants, &attrs); in impl_structopt_for_enum() localVariable858 #from_subcommand in impl_structopt_for_enum()