blob: 6c43a64396e9290f72c3198c42739a19a9499e63 [file]
#[derive(Debug, Default, Eq, Clone, Copy)]
pub struct TimeIndex {
pub relative_offset: u32,
pub timestamp: u64,
}
impl PartialEq<Self> for TimeIndex {
fn eq(&self, other: &Self) -> bool {
self.relative_offset == other.relative_offset && self.timestamp == other.timestamp
}
}