From 70343e12125c70cffa1998e68ff28a8d2dc4f3df Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 9 May 2025 17:40:30 -0400 Subject: [PATCH] Derive Copy, Clone in ExcelColumnDefinition --- src/exh.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exh.rs b/src/exh.rs index 5a340f2..db80539 100644 --- a/src/exh.rs +++ b/src/exh.rs @@ -32,7 +32,7 @@ pub struct EXHHeader { #[binrw] #[brw(repr(u16))] #[repr(u16)] -#[derive(PartialEq, Eq, Clone, Debug)] +#[derive(PartialEq, Eq, Clone, Copy, Debug)] pub enum ColumnDataType { String = 0x0, Bool = 0x1, @@ -58,7 +58,7 @@ pub enum ColumnDataType { #[binrw] #[brw(big)] -#[derive(Debug)] +#[derive(Debug, Copy, Clone)] pub struct ExcelColumnDefinition { pub data_type: ColumnDataType, pub offset: u16,