pub struct DimensionHeatmap {
pub time_bins: usize,
pub dimensions: usize,
pub timestamps: Vec<i64>,
pub data: Vec<f32>,
}Expand description
Time × dimension change intensity matrix.
Fields§
§time_bins: usizeNumber of time bins.
dimensions: usizeNumber of dimensions.
timestamps: Vec<i64>Timestamps for each time bin.
data: Vec<f32>Flattened matrix: [time_bin * dimensions + dim] = change intensity.
Implementations§
Trait Implementations§
Source§impl Clone for DimensionHeatmap
impl Clone for DimensionHeatmap
Source§fn clone(&self) -> DimensionHeatmap
fn clone(&self) -> DimensionHeatmap
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DimensionHeatmap
impl RefUnwindSafe for DimensionHeatmap
impl Send for DimensionHeatmap
impl Sync for DimensionHeatmap
impl Unpin for DimensionHeatmap
impl UnwindSafe for DimensionHeatmap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more