Searched refs:possible_vals (Results 1 – 13 of 13) sorted by relevance
25 fn possible_vals(&self) -> Option<&[&'e str]>; in possible_vals() method86 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() function87 (*self).possible_vals() in possible_vals()
2405 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()
15 let possible_vals = [$($val),*] localVariable23 format!("unknown setting `{}`, expected one of {}", ident, possible_vals)))
14 pub possible_vals: Option<Vec<&'b str>>, field31 possible_vals: None, in default()
174 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method175 self.v.possible_vals.as_ref().map(|o| &o[..]) in possible_vals()
153 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method154 self.v.possible_vals.as_ref().map(|o| &o[..]) in possible_vals()
100 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method
358 let pv = if let Some(pv_vec) = o.possible_vals() {468 action = arg.possible_vals().map_or("_files".to_owned(), |values| {
65 if let Some(ref data) = option.v.possible_vals {
174 if let Some(vals) = o.possible_vals() { in vals_for()
107 if let Some(p_vals) = arg.possible_vals() { in validate_arg_values()
1841 fn possible_vals(&self) -> Option<&[&'e str]> { in possible_vals() method
563 if let Some(pv) = a.possible_vals() { in spec_vals()