Searched refs:from_arg_matches (Results 1 – 9 of 9) sorted by relevance
/third_party/rust/crates/clap/examples/derive_ref/ |
D | hand_subcommand.rs | 22 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()
|
D | augment_subcommands.rs | 17 let derived_subcommands = Subcommands::from_arg_matches(&matches) in main()
|
D | augment_args.rs | 23 let derived_matches = DerivedArgs::from_arg_matches(&matches) in main()
|
D | flatten_hand_args.rs | 12 fn from_arg_matches(matches: &ArgMatches) -> Result<Self, Error> { in from_arg_matches() method
|
/third_party/rust/crates/clap/clap_derive/src/ |
D | dummies.rs | 32 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/ |
D | derive.rs | 209 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/ |
D | dynamic.rs | 26 clap_complete::dynamic::bash::CompleteCommand::from_arg_matches(&matches) in main()
|
/third_party/rust/crates/clap/clap_derive/src/derives/ |
D | subcommand.rs | 64 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()
|
D | args.rs | 115 …fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Er… in gen_for_struct()
|