sampling/heatmap/
helper.rs

1use crate::*;
2
3#[cfg(feature = "serde_support")]
4use serde::{Serialize, Deserialize};
5
6#[derive(Debug, Clone)]
7#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
8/// # Errors of Heatmap
9pub enum HeatmapError{
10    /// An Error while calculating the index of the x coordinate
11    XError(HistErrors),
12    /// An Error while calculating the index of the y coordinate
13    YError(HistErrors),
14    /// you tried to combine heatmaps of different Dimensions
15    Dimension
16}