fixups for test
This commit is contained in:
parent
22543defa8
commit
0c251f90fd
@ -284,11 +284,12 @@ impl std::error::Error for Error{}
|
||||
|
||||
#[binrw]
|
||||
#[brw(little)]
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug,Clone,Copy)]
|
||||
pub struct BlockId(u32);
|
||||
|
||||
#[binrw]
|
||||
#[brw(little)]
|
||||
#[derive(Debug,Clone,Copy)]
|
||||
pub struct TimedBlockId{
|
||||
pub time:f64,
|
||||
pub block_id:BlockId,
|
||||
@ -296,6 +297,7 @@ pub struct TimedBlockId{
|
||||
|
||||
#[binrw]
|
||||
#[brw(little)]
|
||||
#[derive(Debug)]
|
||||
pub struct FileHeader{
|
||||
#[brw(magic=b"qbot")]
|
||||
pub file_version:u32,
|
||||
@ -310,7 +312,7 @@ pub struct FileHeader{
|
||||
}
|
||||
|
||||
pub struct File<R:BinReaderExt>{
|
||||
header:FileHeader,
|
||||
pub header:FileHeader,
|
||||
//reference to the data
|
||||
data:R,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user