downsample 0.0.4

keep downsampled history of data over long period of time
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::ops::Range;

#[derive(Default, Debug)]
pub(crate) struct Level {
    _range: Range<usize>,
}

pub struct Storage<D, T> {
    pub(crate) _data:  Vec<(D, T)>,
    pub(crate) _level: Vec<Level>,
}