Home
last modified time | relevance | path

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

/external/rust/crates/structopt/src/
Dlib.rs1148 fn from_subcommand<'a, 'b>(_sub: (&'b str, Option<&'b clap::ArgMatches<'a>>)) -> Option<Self> in from_subcommand() method
1173 fn from_subcommand<'a, 'b>(sub: (&'b str, Option<&'b clap::ArgMatches<'a>>)) -> Option<Self> { in from_subcommand() method
1174 <T as StructOptInternal>::from_subcommand(sub).map(Box::new) in from_subcommand()
/external/rust/crates/structopt-derive/src/
Dlib.rs280 #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() localVariable
858 #from_subcommand in impl_structopt_for_enum()