pub struct Heatmap {
pub cols: usize,
pub rows: usize,
pub cell_px: f64,
pub grid: Vec<f64>,
}Expand description
A heatmap rendered as a coarse intensity grid over pixel space.
Fields§
§cols: usize§rows: usize§cell_px: f64§grid: Vec<f64>Row-major intensity values in [0, 1].
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Heatmap
impl RefUnwindSafe for Heatmap
impl Send for Heatmap
impl Sync for Heatmap
impl Unpin for Heatmap
impl UnsafeUnpin for Heatmap
impl UnwindSafe for Heatmap
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