Lines Matching refs:ArgPredicate
14 use crate::builder::ArgPredicate;
64 pub(crate) requires: Vec<(ArgPredicate, Id)>,
78 pub(crate) default_vals_ifs: Vec<(Id, ArgPredicate, Option<OsStr>)>,
733 self.requires.push((ArgPredicate::IsPresent, arg_id)); in requires()
2753 predicate: impl Into<ArgPredicate>, in default_value_if() argument
2773 predicate: impl Into<ArgPredicate>, in default_value_if_os() argument
2866 impl Into<ArgPredicate>, in default_value_ifs() argument
2888 impl Into<ArgPredicate>, in default_value_ifs_os() argument
3418 pub fn requires_if(mut self, val: impl Into<ArgPredicate>, arg_id: impl Into<Id>) -> Self { in requires_if() argument
3496 ifs: impl IntoIterator<Item = (impl Into<ArgPredicate>, impl Into<Id>)>, in requires_ifs()
3509 self.requires_ifs(ids.into_iter().map(|id| (ArgPredicate::IsPresent, id))) in requires_all()