@@ -308,7 +308,7 @@ pub struct Id(pub u32);
308
308
/// The fundamental kind of an item. Unlike [`ItemEnum`], this does not carry any aditional info.
309
309
///
310
310
/// Part of [`ItemSummary`].
311
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
311
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
312
312
#[ serde( rename_all = "snake_case" ) ]
313
313
pub enum ItemKind {
314
314
/// A module declaration, e.g. `mod foo;` or `mod foo {}`
@@ -892,7 +892,7 @@ pub enum GenericBound {
892
892
}
893
893
894
894
/// A set of modifiers applied to a trait.
895
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
895
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
896
896
#[ serde( rename_all = "snake_case" ) ]
897
897
pub enum TraitBoundModifier {
898
898
/// Marks the absence of a modifier.
@@ -1193,7 +1193,7 @@ pub struct ProcMacro {
1193
1193
}
1194
1194
1195
1195
/// The way a [`ProcMacro`] is declared to be used.
1196
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
1196
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
1197
1197
#[ serde( rename_all = "snake_case" ) ]
1198
1198
pub enum MacroKind {
1199
1199
/// A bang macro `foo!()`.
0 commit comments