Home
last modified time | relevance | path

Searched refs:AnyValue (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/clap/src/parser/matches/
Dmatched_arg.rs9 use crate::parser::AnyValue;
20 vals: Vec<Vec<AnyValue>>,
78 pub(crate) fn vals(&self) -> Iter<Vec<AnyValue>> { in vals() argument
82 pub(crate) fn into_vals(self) -> Vec<Vec<AnyValue>> { in into_vals() argument
86 pub(crate) fn vals_flatten(&self) -> Flatten<Iter<Vec<AnyValue>>> { in vals_flatten() argument
90 pub(crate) fn into_vals_flatten(self) -> Flatten<std::vec::IntoIter<Vec<AnyValue>>> { in into_vals_flatten() argument
102 pub(crate) fn first(&self) -> Option<&AnyValue> { in first() argument
116 pub(crate) fn append_val(&mut self, val: AnyValue, raw_val: OsString) { in append_val() argument
221 m.append_val(AnyValue::new(String::from("bbb")), "bbb".into()); in test_grouped_vals_first()
222 m.append_val(AnyValue::new(String::from("ccc")), "ccc".into()); in test_grouped_vals_first()
Darg_matches.rs11 use crate::parser::AnyValue;
1409 iter: Map<Flatten<std::vec::IntoIter<Vec<AnyValue>>>, fn(AnyValue) -> T>,
1435 let empty: Vec<Vec<AnyValue>> = Default::default(); in default()
1466 iter: Map<Flatten<Iter<'a, Vec<AnyValue>>>, fn(&AnyValue) -> &T>,
1492 static EMPTY: [Vec<AnyValue>; 0] = []; in default()
1570 iter: Map<Iter<'a, Vec<AnyValue>>, fn(&Vec<AnyValue>) -> Vec<&str>>,
1600 static EMPTY: [Vec<AnyValue>; 0] = []; in default()
1611 iter: Map<std::vec::IntoIter<Vec<AnyValue>>, fn(Vec<AnyValue>) -> OccurrenceValues<T>>,
1636 let empty: Vec<Vec<AnyValue>> = Default::default(); in default()
1646 iter: Map<std::vec::IntoIter<AnyValue>, fn(AnyValue) -> T>,
[all …]
Dany_value.rs2 pub(crate) struct AnyValue { struct
9 impl AnyValue { argument
35 impl std::fmt::Debug for AnyValue { implementation
110 assert_eq!(format!("{:?}", AnyValue::new(5)), "AnyValue { inner: i32 }"); in debug_impl()
Dmod.rs14 pub(crate) use any_value::AnyValue;
/third_party/rust/crates/clap/src/parser/
Dmod.rs13 pub(crate) use self::matches::AnyValue;
Darg_matcher.rs8 use crate::parser::AnyValue;
175 pub(crate) fn add_val_to(&mut self, arg: &Id, val: AnyValue, raw_val: OsString) { in add_val_to() argument
Dparser.rs18 use crate::parser::AnyValue;
1511 AnyValue::new(arg.get_id().clone()), in start_custom_arg()
/third_party/rust/crates/clap/src/builder/
Dvalue_parser.rs4 use crate::parser::AnyValue;
230 ) -> Result<AnyValue, crate::Error> { in parse_ref() argument
577 ) -> Result<AnyValue, crate::Error>; in parse_ref() argument
584 ) -> Result<AnyValue, crate::Error>; in parse() argument
606 ) -> Result<AnyValue, crate::Error> { in parse_ref() argument
608 Ok(AnyValue::new(value)) in parse_ref()
616 ) -> Result<AnyValue, crate::Error> { in parse() argument
618 Ok(AnyValue::new(value)) in parse()