From 0eb9035badedb54d11c0b2ecb067ebcd76f6bf77 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 26 Apr 2020 21:54:01 -0600 Subject: [PATCH] make TechniqueDisk and Tool Copy --- src/entity/item/tech.rs | 2 +- src/entity/item/tool.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entity/item/tech.rs b/src/entity/item/tech.rs index 8976904..b7faeaa 100644 --- a/src/entity/item/tech.rs +++ b/src/entity/item/tech.rs @@ -25,7 +25,7 @@ pub enum Technique { } -#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] pub struct TechniqueDisk { pub tech: Technique, pub level: u32, diff --git a/src/entity/item/tool.rs b/src/entity/item/tool.rs index 3583a63..dbde12b 100644 --- a/src/entity/item/tool.rs +++ b/src/entity/item/tool.rs @@ -394,7 +394,7 @@ impl ToolType { } -#[derive(Clone, Debug, PartialEq)] +#[derive(Copy, Clone, Debug, PartialEq)] pub struct Tool { pub tool: ToolType, }