mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 11:47:46 +00:00
Make ColumnData repr(C), make EXH members public outside of crate
This commit is contained in:
parent
4ac3fc378d
commit
036a37c839
2 changed files with 4 additions and 3 deletions
|
@ -44,6 +44,7 @@ pub struct EXD {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
#[repr(C)]
|
||||||
pub enum ColumnData {
|
pub enum ColumnData {
|
||||||
String(String),
|
String(String),
|
||||||
Bool(bool),
|
Bool(bool),
|
||||||
|
|
|
@ -63,13 +63,13 @@ pub struct ExcelDataPagination {
|
||||||
#[binread]
|
#[binread]
|
||||||
#[br(big)]
|
#[br(big)]
|
||||||
pub struct EXH {
|
pub struct EXH {
|
||||||
pub(crate) header : EXHHeader,
|
pub header : EXHHeader,
|
||||||
|
|
||||||
#[br(count = header.column_count)]
|
#[br(count = header.column_count)]
|
||||||
pub(crate) column_definitions : Vec<ExcelColumnDefinition>,
|
pub column_definitions : Vec<ExcelColumnDefinition>,
|
||||||
|
|
||||||
#[br(count = header.page_count)]
|
#[br(count = header.page_count)]
|
||||||
pub(crate) pages : Vec<ExcelDataPagination>,
|
pub pages : Vec<ExcelDataPagination>,
|
||||||
|
|
||||||
#[br(count = header.language_count)]
|
#[br(count = header.language_count)]
|
||||||
languages : Vec<Language>
|
languages : Vec<Language>
|
||||||
|
|
Loading…
Add table
Reference in a new issue