1 2 3 4 5 6 7 8 9 10 11 12
#[non_exhaustive] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct ByteRange { pub offset: u64, pub length: u64, } #[derive(Debug, Clone, Copy, PartialEq, Default)] pub struct Range { pub from: f64, pub to: f64, }