Skip to main content

ionic/ion/
range.rs

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