@@ -34,29 +34,30 @@ impl <T> ::std::hash::Hash for __BindgenUnionField<T> {
3434impl < T > :: std:: cmp:: PartialEq for __BindgenUnionField < T > {
3535 fn eq ( & self , _other : & __BindgenUnionField < T > ) -> bool { true }
3636}
37+ impl < T > :: std:: cmp:: Eq for __BindgenUnionField < T > { }
3738#[ repr( C ) ]
38- #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq ) ]
39+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq , Eq ) ]
3940pub struct NastyStruct {
4041 pub mIsSome : bool ,
4142 pub mStorage : NastyStruct__bindgen_ty_1 ,
4243 pub __bindgen_anon_1 : NastyStruct__bindgen_ty_2 ,
4344}
4445#[ repr( C ) ]
45- #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq ) ]
46+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq , Eq ) ]
4647pub struct NastyStruct__bindgen_ty_1 {
4748 pub mFoo : __BindgenUnionField < * mut :: std:: os:: raw:: c_void > ,
4849 pub mDummy : __BindgenUnionField < :: std:: os:: raw:: c_ulong > ,
4950 pub bindgen_union_field : u64 ,
5051}
5152#[ repr( C ) ]
52- #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq ) ]
53+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq , Eq ) ]
5354pub struct NastyStruct__bindgen_ty_2 {
5455 pub wat : __BindgenUnionField < :: std:: os:: raw:: c_short > ,
5556 pub wut : __BindgenUnionField < * mut :: std:: os:: raw:: c_int > ,
5657 pub bindgen_union_field : u64 ,
5758}
5859#[ repr( C ) ]
59- #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq ) ]
60+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq , Eq ) ]
6061pub struct Whatever {
6162 pub mTPtr : __BindgenUnionField < * mut :: std:: os:: raw:: c_void > ,
6263 pub mInt : __BindgenUnionField < :: std:: os:: raw:: c_int > ,
0 commit comments