@@ -31,16 +31,19 @@ impl <T> ::std::fmt::Debug for __BindgenUnionField<T> {
31
31
impl < T > :: std:: hash:: Hash for __BindgenUnionField < T > {
32
32
fn hash < H : :: std:: hash:: Hasher > ( & self , _state : & mut H ) { }
33
33
}
34
+ impl < T > :: std:: cmp:: PartialEq for __BindgenUnionField < T > {
35
+ fn eq ( & self , _other : & __BindgenUnionField < T > ) -> bool { true }
36
+ }
34
37
#[ repr( C ) ]
35
- #[ derive( Debug , Default , Copy , Clone , Hash ) ]
38
+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq ) ]
36
39
pub struct basic_string {
37
40
pub _address : u8 ,
38
41
}
39
42
pub type basic_string_size_type = :: std:: os:: raw:: c_ulonglong ;
40
43
pub type basic_string_value_type = :: std:: os:: raw:: c_char ;
41
44
pub type basic_string_pointer = * mut basic_string_value_type ;
42
45
#[ repr( C ) ]
43
- #[ derive( Debug , Copy , Clone , Hash ) ]
46
+ #[ derive( Debug , Copy , Clone , Hash , PartialEq ) ]
44
47
pub struct basic_string___long {
45
48
pub __cap_ : basic_string_size_type ,
46
49
pub __size_ : basic_string_size_type ,
@@ -55,13 +58,13 @@ pub const basic_string___min_cap: basic_string__bindgen_ty_1 =
55
58
#[ derive( Debug , Copy , Clone , PartialEq , Eq , Hash ) ]
56
59
pub enum basic_string__bindgen_ty_1 { __min_cap = 0 , }
57
60
#[ repr( C ) ]
58
- #[ derive( Debug , Copy , Clone , Hash ) ]
61
+ #[ derive( Debug , Copy , Clone , Hash , PartialEq ) ]
59
62
pub struct basic_string___short {
60
63
pub __bindgen_anon_1 : basic_string___short__bindgen_ty_1 ,
61
64
pub __data_ : * mut basic_string_value_type ,
62
65
}
63
66
#[ repr( C ) ]
64
- #[ derive( Debug , Default , Copy , Clone , Hash ) ]
67
+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialEq ) ]
65
68
pub struct basic_string___short__bindgen_ty_1 {
66
69
pub __size_ : __BindgenUnionField < :: std:: os:: raw:: c_uchar > ,
67
70
pub __lx : __BindgenUnionField < basic_string_value_type > ,
@@ -86,7 +89,7 @@ pub const basic_string___n_words: basic_string__bindgen_ty_2 =
86
89
#[ derive( Debug , Copy , Clone , PartialEq , Eq , Hash ) ]
87
90
pub enum basic_string__bindgen_ty_2 { __n_words = 0 , }
88
91
#[ repr( C ) ]
89
- #[ derive( Debug , Copy , Clone , Hash ) ]
92
+ #[ derive( Debug , Copy , Clone , Hash , PartialEq ) ]
90
93
pub struct basic_string___raw {
91
94
pub __words : * mut basic_string_size_type ,
92
95
}
0 commit comments