HeatLandSeries
struct · ferroui-livecharts · v0.5.0
struct HeatLandSeries
A heat land series (CoreHeatLandSeries): the name, visibility and heat map of its
Series (the source's two blues by default), its lands, the offsets of the heat map and
the bounds that override the weights of the lands.
Members
series
series: crate::series::Series
lands
lands: Vec<HeatLand>
color_stops
color_stops: Option<Vec<f64>>
min_value
min_value: Option<f64>
max_value
max_value: Option<f64>
new
fn new(lands: Vec<HeatLand>) -> Self
weight_bounds
fn weight_bounds(self: &Self) -> Bounds
The bounds of the weights (WeightBounds): the values of the lands, with min_value and
max_value in place of their extremes when they are set.
try_get_value
fn try_get_value(self: &Self, land_short_name: &str) -> Option<f64>
The value of the land of the given short name, ignoring case (TryGetValue).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.