mirror of
https://github.com/redstrate/Physis.git
synced 2025-05-15 22:47:46 +00:00
Derive Copy, Clone in ExcelColumnDefinition
This commit is contained in:
parent
dfb61f30aa
commit
70343e1212
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue