@@ -48,8 +48,7 @@ pub type au_asid_t = ::pid_t;
48
48
// making the type definition system dependent. Better not bind it exactly.
49
49
pub type kvm_t = :: c_void ;
50
50
51
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
52
- #[ derive( PartialEq , Eq ) ]
51
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
53
52
#[ repr( u32 ) ]
54
53
pub enum devstat_support_flags {
55
54
DEVSTAT_ALL_SUPPORTED = 0x00 ,
@@ -64,8 +63,7 @@ impl ::Clone for devstat_support_flags {
64
63
}
65
64
}
66
65
67
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
68
- #[ derive( PartialEq , Eq ) ]
66
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
69
67
#[ repr( u32 ) ]
70
68
pub enum devstat_trans_flags {
71
69
DEVSTAT_NO_DATA = 0x00 ,
@@ -81,8 +79,7 @@ impl ::Clone for devstat_trans_flags {
81
79
}
82
80
}
83
81
84
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
85
- #[ derive( PartialEq , Eq ) ]
82
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
86
83
#[ repr( u32 ) ]
87
84
pub enum devstat_tag_type {
88
85
DEVSTAT_TAG_SIMPLE = 0x00 ,
@@ -97,8 +94,7 @@ impl ::Clone for devstat_tag_type {
97
94
}
98
95
}
99
96
100
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
101
- #[ derive( PartialEq , Eq ) ]
97
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
102
98
#[ repr( u32 ) ]
103
99
pub enum devstat_match_flags {
104
100
DEVSTAT_MATCH_NONE = 0x00 ,
@@ -113,8 +109,7 @@ impl ::Clone for devstat_match_flags {
113
109
}
114
110
}
115
111
116
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
117
- #[ derive( PartialEq , Eq ) ]
112
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
118
113
#[ repr( u32 ) ]
119
114
pub enum devstat_priority {
120
115
DEVSTAT_PRIORITY_MIN = 0x000 ,
@@ -135,8 +130,7 @@ impl ::Clone for devstat_priority {
135
130
}
136
131
}
137
132
138
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
139
- #[ derive( PartialEq , Eq ) ]
133
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
140
134
#[ repr( u32 ) ]
141
135
pub enum devstat_type_flags {
142
136
DEVSTAT_TYPE_DIRECT = 0x000 ,
@@ -168,8 +162,7 @@ impl ::Clone for devstat_type_flags {
168
162
}
169
163
}
170
164
171
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
172
- #[ derive( PartialEq , Eq ) ]
165
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
173
166
#[ repr( u32 ) ]
174
167
pub enum devstat_metric {
175
168
DSM_NONE ,
@@ -226,8 +219,7 @@ impl ::Clone for devstat_metric {
226
219
}
227
220
}
228
221
229
- #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash ) ) ]
230
- #[ derive( PartialEq , Eq ) ]
222
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug , Hash , PartialEq , Eq ) ) ]
231
223
#[ repr( u32 ) ]
232
224
pub enum devstat_select_mode {
233
225
DS_SELECT_ADD ,
0 commit comments