Home
last modified time | relevance | path

Searched defs:ArgMatches (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
Dpropagate_globals.rs23 fn get_matches(cmd: Command, argv: &'static str) -> ArgMatches { in get_matches()
28 fn get_outer_matches(m: &ArgMatches) -> &ArgMatches { in get_outer_matches()
33 fn get_inner_matches(m: &ArgMatches) -> &ArgMatches { in get_inner_matches()
39 fn top_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in top_can_access_arg()
43 fn inner_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in inner_can_access_arg()
50 fn outer_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in outer_can_access_arg()
57 fn top_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in top_can_access_flag()
62 fn inner_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in inner_can_access_flag()
68 fn outer_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in outer_can_access_flag()
Doccurrences.rs3 fn occurrences_as_vec_vec<'a>(m: &'a ArgMatches, name: &str) -> Vec<Vec<&'a String>> { in occurrences_as_vec_vec()
Dopts.rs481 fn issue_1105_setup(argv: Vec<&'static str>) -> Result<ArgMatches, clap::Error> { in issue_1105_setup()
/third_party/rust/crates/clap/src/parser/matches/
Darg_matches.rs66 pub struct ArgMatches { struct
76 impl ArgMatches { impl
864 impl ArgMatches { impl
918 pub fn subcommand(&self) -> Option<(&str, &ArgMatches)> { in subcommand()
976 pub fn remove_subcommand(&mut self) -> Option<(String, ArgMatches)> { in remove_subcommand() argument
1019 pub fn subcommand_matches(&self, name: &str) -> Option<&ArgMatches> { in subcommand_matches()
1071 impl ArgMatches { impl
1221 impl ArgMatches { impl
/third_party/rust/crates/clap/examples/
Dfind.rs59 fn extract<T: Clone + Into<Value> + Send + Sync + 'static>( in extract()
/third_party/rust/crates/clap/src/parser/
Darg_matcher.rs43 pub(crate) fn into_inner(self) -> ArgMatches { in into_inner()
/third_party/rust/crates/clap/src/builder/
Dcommand.rs489 pub fn get_matches(self) -> ArgMatches { in get_matches()
512 pub fn get_matches_mut(&mut self) -> ArgMatches { in get_matches_mut()
546 pub fn try_get_matches(self) -> ClapResult<ArgMatches> { in try_get_matches()
3767 fn get_used_global_args(&self, matches: &ArgMatches, global_arg_vec: &mut Vec<Id>) { in get_used_global_args()
3785 ) -> ClapResult<ArgMatches> { in _do_parse()