@@ -248,7 +248,7 @@ pub enum DiscoveredItem {
248
248
249
249
/// Relevant information about a type to which new derive attributes will be added using
250
250
/// [`ParseCallbacks::add_derives`].
251
- #[ derive( Debug ) ]
251
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq ) ]
252
252
#[ non_exhaustive]
253
253
pub struct DeriveInfo < ' a > {
254
254
/// The name of the type.
@@ -259,7 +259,7 @@ pub struct DeriveInfo<'a> {
259
259
260
260
/// Relevant information about a type to which new attributes will be added using
261
261
/// [`ParseCallbacks::add_attributes`].
262
- #[ derive( Debug ) ]
262
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq ) ]
263
263
#[ non_exhaustive]
264
264
pub struct AttributeInfo < ' a > {
265
265
/// The name of the type.
@@ -280,7 +280,7 @@ pub enum TypeKind {
280
280
}
281
281
282
282
/// A struct providing information about the item being passed to [`ParseCallbacks::generated_name_override`].
283
- #[ derive( Clone , Copy ) ]
283
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq ) ]
284
284
#[ non_exhaustive]
285
285
pub struct ItemInfo < ' a > {
286
286
/// The name of the item
@@ -290,7 +290,7 @@ pub struct ItemInfo<'a> {
290
290
}
291
291
292
292
/// An enum indicating the kind of item for an `ItemInfo`.
293
- #[ derive( Clone , Copy ) ]
293
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq ) ]
294
294
#[ non_exhaustive]
295
295
pub enum ItemKind {
296
296
/// A module
@@ -305,7 +305,7 @@ pub enum ItemKind {
305
305
306
306
/// Relevant information about a field for which visibility can be determined using
307
307
/// [`ParseCallbacks::field_visibility`].
308
- #[ derive( Debug ) ]
308
+ #[ derive( Debug , Clone , Copy , PartialEq , Eq ) ]
309
309
#[ non_exhaustive]
310
310
pub struct FieldInfo < ' a > {
311
311
/// The name of the type.
0 commit comments