1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-16 15:07:45 +00:00

Derive Copy, Clone in ExcelColumnDefinition

This commit is contained in:
Joshua Goins 2025-05-09 17:40:30 -04:00
parent dfb61f30aa
commit 70343e1212

View file

@ -32,7 +32,7 @@ pub struct EXHHeader {
#[binrw] #[binrw]
#[brw(repr(u16))] #[brw(repr(u16))]
#[repr(u16)] #[repr(u16)]
#[derive(PartialEq, Eq, Clone, Debug)] #[derive(PartialEq, Eq, Clone, Copy, Debug)]
pub enum ColumnDataType { pub enum ColumnDataType {
String = 0x0, String = 0x0,
Bool = 0x1, Bool = 0x1,
@ -58,7 +58,7 @@ pub enum ColumnDataType {
#[binrw] #[binrw]
#[brw(big)] #[brw(big)]
#[derive(Debug)] #[derive(Debug, Copy, Clone)]
pub struct ExcelColumnDefinition { pub struct ExcelColumnDefinition {
pub data_type: ColumnDataType, pub data_type: ColumnDataType,
pub offset: u16, pub offset: u16,