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:
parent
dfb61f30aa
commit
70343e1212
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue