@@ -320,7 +320,7 @@ pub struct Id(pub u32);
320
320
/// The fundamental kind of an item. Unlike [`ItemEnum`], this does not carry any aditional info.
321
321
///
322
322
/// Part of [`ItemSummary`].
323
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
323
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
324
324
#[ serde( rename_all = "snake_case" ) ]
325
325
pub enum ItemKind {
326
326
/// A module declaration, e.g. `mod foo;` or `mod foo {}`
@@ -904,7 +904,7 @@ pub enum GenericBound {
904
904
}
905
905
906
906
/// A set of modifiers applied to a trait.
907
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
907
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
908
908
#[ serde( rename_all = "snake_case" ) ]
909
909
pub enum TraitBoundModifier {
910
910
/// Marks the absence of a modifier.
@@ -1205,7 +1205,7 @@ pub struct ProcMacro {
1205
1205
}
1206
1206
1207
1207
/// The way a [`ProcMacro`] is declared to be used.
1208
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
1208
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
1209
1209
#[ serde( rename_all = "snake_case" ) ]
1210
1210
pub enum MacroKind {
1211
1211
/// A bang macro `foo!()`.
0 commit comments