Lines Matching refs:Id
22 use crate::Id;
55 pub(crate) id: Id,
60 pub(crate) blacklist: Vec<Id>,
62 pub(crate) overrides: Vec<Id>,
63 pub(crate) groups: Vec<Id>,
64 pub(crate) requires: Vec<(ArgPredicate, Id)>,
65 pub(crate) r_ifs: Vec<(Id, OsStr)>,
66 pub(crate) r_ifs_all: Vec<(Id, OsStr)>,
67 pub(crate) r_unless: Vec<Id>,
68 pub(crate) r_unless_all: Vec<Id>,
78 pub(crate) default_vals_ifs: Vec<(Id, ArgPredicate, Option<OsStr>)>,
107 pub fn new(id: impl Into<Id>) -> Self {
115 pub fn id(mut self, id: impl Into<Id>) -> Self {
731 pub fn requires(mut self, arg_id: impl IntoResettable<Id>) -> Self {
2589 pub fn group(mut self, group_id: impl IntoResettable<Id>) -> Self {
2634 pub fn groups(mut self, group_ids: impl IntoIterator<Item = impl Into<Id>>) -> Self {
2752 arg_id: impl Into<Id>,
2772 arg_id: impl Into<Id>,
2865 impl Into<Id>,
2887 impl Into<Id>,
2950 pub fn required_unless_present(mut self, arg_id: impl IntoResettable<Id>) -> Self {
3029 names: impl IntoIterator<Item = impl Into<Id>>,
3107 names: impl IntoIterator<Item = impl Into<Id>>,
3193 pub fn required_if_eq(mut self, arg_id: impl Into<Id>, val: impl Into<OsStr>) -> Self {
3274 ifs: impl IntoIterator<Item = (impl Into<Id>, impl Into<OsStr>)>,
3355 ifs: impl IntoIterator<Item = (impl Into<Id>, impl Into<OsStr>)>,
3418 pub fn requires_if(mut self, val: impl Into<ArgPredicate>, arg_id: impl Into<Id>) -> Self {
3496 ifs: impl IntoIterator<Item = (impl Into<ArgPredicate>, impl Into<Id>)>,
3508 pub fn requires_all(self, ids: impl IntoIterator<Item = impl Into<Id>>) -> Self {
3559 pub fn conflicts_with(mut self, arg_id: impl IntoResettable<Id>) -> Self {
3613 pub fn conflicts_with_all(mut self, names: impl IntoIterator<Item = impl Into<Id>>) -> Self {
3649 pub fn overrides_with(mut self, arg_id: impl IntoResettable<Id>) -> Self {
3689 pub fn overrides_with_all(mut self, names: impl IntoIterator<Item = impl Into<Id>>) -> Self {
3699 pub fn get_id(&self) -> &Id {