pub enum HeatmapRange {
Auto {
percentile: f32,
},
Fixed {
lo: f32,
hi: f32,
},
}Expand description
The value range of the color ramp.
Variants§
Auto
From 0 to the given quantile (in (0, 1]) of the visible cells, rounded up to a quarter of its octave so it does not flicker while panning.
Fixed
Fixed.
Trait Implementations§
Source§impl Clone for HeatmapRange
impl Clone for HeatmapRange
impl Copy for HeatmapRange
Source§impl Debug for HeatmapRange
impl Debug for HeatmapRange
Source§impl Default for HeatmapRange
impl Default for HeatmapRange
Source§impl PartialEq for HeatmapRange
impl PartialEq for HeatmapRange
impl StructuralPartialEq for HeatmapRange
Auto Trait Implementations§
impl Forget for HeatmapRange
impl Freeze for HeatmapRange
impl Move for HeatmapRange
impl RefUnwindSafe for HeatmapRange
impl Send for HeatmapRange
impl Sync for HeatmapRange
impl Unpin for HeatmapRange
impl UnsafeUnpin for HeatmapRange
impl UnwindSafe for HeatmapRange
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