pub struct HistogramGeometry {
pub value_dimension: String,
pub density_dimension: String,
pub bin_lower: NumericValues,
pub bin_upper: NumericValues,
pub bin_density: NumericValues,
pub kde_x: NumericValues,
pub kde_y: NumericValues,
pub rug_x: NumericValues,
pub rug_baseline: NumericValues,
pub rug_top: NumericValues,
}Expand description
Complete supplied density-axis histogram geometry.
Bins, KDE and rugs are independent alignment domains. All components are required; the renderer never estimates missing supplied components.
Fields§
§value_dimension: StringScientific value dimension, also used for the inferred x-axis title.
density_dimension: StringScientific density dimension, also used for the inferred y-axis title.
bin_lower: NumericValuesLower bin edges in increasing, contiguous bin order.
bin_upper: NumericValuesUpper bin edges aligned with lower edges.
bin_density: NumericValuesNonnegative bin densities aligned with lower/upper edges.
kde_x: NumericValuesStrictly increasing KDE coordinates within the bin support.
kde_y: NumericValuesNonnegative KDE densities aligned with KDE x.
rug_x: NumericValuesRug x coordinates in caller-supplied order, including duplicates.
rug_baseline: NumericValuesNonnegative rug baselines aligned with rug x.
rug_top: NumericValuesRug tops, strictly above their aligned baselines.
Trait Implementations§
Source§impl Clone for HistogramGeometry
impl Clone for HistogramGeometry
Source§fn clone(&self) -> HistogramGeometry
fn clone(&self) -> HistogramGeometry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HistogramGeometry
impl Debug for HistogramGeometry
Auto Trait Implementations§
impl Forget for HistogramGeometry
impl Freeze for HistogramGeometry
impl Move for HistogramGeometry
impl RefUnwindSafe for HistogramGeometry
impl Send for HistogramGeometry
impl Sync for HistogramGeometry
impl Unpin for HistogramGeometry
impl UnsafeUnpin for HistogramGeometry
impl UnwindSafe for HistogramGeometry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.