config: add client-rule infrastructure
This commit is contained in:
parent
17e715cde4
commit
fd2163d658
32 changed files with 1804 additions and 27 deletions
|
|
@ -475,6 +475,10 @@ macro_rules! bitflags {
|
|||
self.0 != 0
|
||||
}
|
||||
|
||||
pub fn is_none(self) -> bool {
|
||||
self.0 == 0
|
||||
}
|
||||
|
||||
pub fn all() -> Self {
|
||||
Self(0 $(| $val)*)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue