fixups for test

This commit is contained in:
Quaternions 2024-12-30 21:08:58 -08:00
parent 22543defa8
commit 0c251f90fd

View File

@ -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,
}