1 2 3 4 5 6 7
/// A trait for structs which hold the index of a date /// FIXME this thing is ridiculous, I need somebody knowing rust to fix it pub trait DateIndexed { fn date_idx(&self) -> usize; fn bytes(&self) -> u64; }
1 2 3 4 5 6 7
/// A trait for structs which hold the index of a date /// FIXME this thing is ridiculous, I need somebody knowing rust to fix it pub trait DateIndexed { fn date_idx(&self) -> usize; fn bytes(&self) -> u64; }