Home
last modified time | relevance | path

Searched refs:MatchedArg (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/clap/src/args/
Dmatched_arg.rs6 pub struct MatchedArg { struct
15 impl Default for MatchedArg { argument
17 MatchedArg { in default()
25 impl MatchedArg { impl
27 MatchedArg::default() in new()
Darg_matcher.rs11 use args::{ArgMatches, MatchedArg, SubCommand};
117 vals_map: &mut HashMap<&'a str, MatchedArg>, in fill_in_global_values() argument
150 pub fn get_mut(&mut self, arg: &str) -> Option<&mut MatchedArg> { in get_mut() argument
154 pub fn get(&self, arg: &str) -> Option<&MatchedArg> { in get() argument
169 self.0.args.insert(name, MatchedArg::new()); in insert()
188 pub fn entry(&mut self, arg: &'a str) -> Entry<&'a str, MatchedArg> { in entry() argument
200 pub fn iter(&self) -> Iter<&str, MatchedArg> { in iter() argument
222 let ma = self.entry(arg).or_insert(MatchedArg { in add_val_to()
231 let ma = self.entry(arg).or_insert(MatchedArg { in add_index_to()
Dmod.rs7 pub use self::matched_arg::MatchedArg;
Darg_matches.rs9 use args::MatchedArg;
63 pub args: HashMap<&'a str, MatchedArg>,
/external/rust/crates/clap/src/app/
Dvalidator.rs11 use args::{AnyArg, ArgMatcher, MatchedArg};
89 ma: &MatchedArg, in validate_arg_values() argument
323 ma: &MatchedArg, in validate_arg_num_occurs() argument
344 ma: &MatchedArg, in validate_arg_num_vals() argument
428 ma: &MatchedArg, in validate_arg_requires() argument