Home
last modified time | relevance | path

Searched refs:possible_vals (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/clap/src/args/
Dany_arg.rs25 fn possible_vals(&self) -> Option<&[&'e str]>; in possible_vals() method
86 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() function
87 (*self).possible_vals() in possible_vals()
Darg.rs2405 if let Some(ref mut vec) = self.v.possible_vals { in possible_values()
2410 self.v.possible_vals = Some(names.iter().map(|s| *s).collect::<Vec<_>>()); in possible_values()
2469 if let Some(ref mut vec) = self.v.possible_vals { in possible_value()
2472 self.v.possible_vals = Some(vec![name]); in possible_value()
/external/rust/crates/proc-macro-error-attr/src/
Dsettings.rs15 let possible_vals = [$($val),*] localVariable
23 format!("unknown setting `{}`, expected one of {}", ident, possible_vals)))
/external/rust/crates/clap/src/args/arg_builder/
Dvalued.rs14 pub possible_vals: Option<Vec<&'b str>>, field
31 possible_vals: None, in default()
Dpositional.rs174 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method
175 self.v.possible_vals.as_ref().map(|o| &o[..]) in possible_vals()
Doption.rs153 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method
154 self.v.possible_vals.as_ref().map(|o| &o[..]) in possible_vals()
Dflag.rs100 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method
/external/rust/crates/clap/src/completions/
Dzsh.rs358 let pv = if let Some(pv_vec) = o.possible_vals() {
468 action = arg.possible_vals().map_or("_files".to_owned(), |values| {
Dfish.rs65 if let Some(ref data) = option.v.possible_vals {
Dbash.rs174 if let Some(vals) = o.possible_vals() { in vals_for()
/external/rust/crates/clap/src/app/
Dvalidator.rs107 if let Some(p_vals) = arg.possible_vals() { in validate_arg_values()
Dmod.rs1841 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method
Dhelp.rs563 if let Some(pv) = a.possible_vals() { in spec_vals()