Home
last modified time | relevance | path

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

/third_party/rust/crates/clap/examples/derive_ref/
Dhand_subcommand.rs22 fn from_arg_matches(matches: &ArgMatches) -> Result<Self, Error> { in from_arg_matches() method
24 Some(("add", args)) => Ok(Self::Add(AddArgs::from_arg_matches(args)?)), in from_arg_matches()
25 Some(("remove", args)) => Ok(Self::Remove(RemoveArgs::from_arg_matches(args)?)), in from_arg_matches()
38 Some(("add", args)) => *self = Self::Add(AddArgs::from_arg_matches(args)?), in update_from_arg_matches()
39 Some(("remove", args)) => *self = Self::Remove(RemoveArgs::from_arg_matches(args)?), in update_from_arg_matches()
Daugment_subcommands.rs17 let derived_subcommands = Subcommands::from_arg_matches(&matches) in main()
Daugment_args.rs23 let derived_matches = DerivedArgs::from_arg_matches(&matches) in main()
Dflatten_hand_args.rs12 fn from_arg_matches(matches: &ArgMatches) -> Result<Self, Error> { in from_arg_matches() method
/third_party/rust/crates/clap/clap_derive/src/
Ddummies.rs32 pub fn from_arg_matches(name: &Ident) { in from_arg_matches() function
35 fn from_arg_matches(_m: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error> { in from_arg_matches()
46 from_arg_matches(name); in subcommand()
63 from_arg_matches(name); in args()
/third_party/rust/crates/clap/src/
Dderive.rs209 fn from_arg_matches(matches: &ArgMatches) -> Result<Self, Error>; in from_arg_matches() method
244 Self::from_arg_matches(matches) in from_arg_matches_mut()
433 fn from_arg_matches(matches: &ArgMatches) -> Result<Self, Error> { in from_arg_matches() method
434 <T as FromArgMatches>::from_arg_matches(matches).map(Box::new) in from_arg_matches()
/third_party/rust/crates/clap/clap_complete/examples/
Ddynamic.rs26 clap_complete::dynamic::bash::CompleteCommand::from_arg_matches(&matches) in main()
/third_party/rust/crates/clap/clap_derive/src/derives/
Dsubcommand.rs64 let from_arg_matches = gen_from_arg_matches(variants); in gen_for_enum() localVariable
86 …fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Er… in gen_for_enum()
90 #from_arg_matches in gen_for_enum()
Dargs.rs115 …fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Er… in gen_for_struct()