Skip to main content

ionic/ion/
range.rs

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