Make use of indexes

This commit is contained in:
Yuriy Dupyn 2024-02-04 23:54:22 +01:00
parent 2357ea8230
commit 8139112934
5 changed files with 120 additions and 27 deletions

View file

@ -7,8 +7,8 @@ use crate::entry_header::{EntryHeader, EntryHeaderWithDataSize};
#[derive(Debug)]
pub struct Entry<T> {
header: EntryHeader,
data: Vec<T>,
pub header: EntryHeader,
pub data: Vec<T>,
}
#[derive(Debug)]