Home
last modified time | relevance | path

Searched refs:min_vals (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/clap/src/args/
Dany_arg.rs23 fn min_vals(&self) -> Option<u64>; in min_vals() method
80 fn min_vals(&self) -> Option<u64> { in min_vals() function
81 (*self).min_vals() in min_vals()
Darg_matcher.rs255 } else if o.min_vals().is_some() { in needs_more_vals()
Darg.rs2855 self.v.min_vals = Some(qty); in min_values()
/external/rust/crates/clap/src/args/arg_builder/
Dvalued.rs18 pub min_vals: Option<u64>, field
33 min_vals: None, in default()
Dpositional.rs43 || a.v.min_vals.is_some() in from_arg_ref()
53 || a.v.min_vals.is_some() in from_arg()
183 fn min_vals(&self) -> Option<u64> { in min_vals() method
184 self.v.min_vals in min_vals()
Doption.rs162 fn min_vals(&self) -> Option<u64> { in min_vals() method
163 self.v.min_vals in min_vals()
Dflag.rs109 fn min_vals(&self) -> Option<u64> { in min_vals() method
/external/rust/crates/clap/src/app/
Dvalidator.rs51 v.vals.is_empty() && !(o.v.min_vals.is_some() && o.v.min_vals.unwrap() == 0) in validate()
397 let min_vals_zero = if let Some(num) = a.min_vals() { in validate_arg_num_vals()
Dmod.rs1850 fn min_vals(&self) -> Option<u64> { in min_vals() method
Dparser.rs1796 let min_vals_zero = opt.v.min_vals.unwrap_or(1) == 0; in parse_opt()
/external/rust/crates/clap/src/
Derrors.rs693 min_vals: u64, in too_few_values()
713 c.warning(min_vals.to_string()), in too_few_values()