pub struct SeriesMeasurement {
pub series: String,
pub min: Option<Extremum>,
pub max: Option<Extremum>,
pub integral: f64,
pub mean: f64,
pub endpoint_slope: Option<f64>,
}Expand description
What one series contributes to an area measurement.
Fields§
§series: StringSeries name.
min: Option<Extremum>Lowest point inside the region.
max: Option<Extremum>Highest point inside the region.
integral: f64Trapezoidal integral over the region, in data units.
mean: f64Mean y of the points inside the region.
endpoint_slope: Option<f64>Slope between the first and last in-range points, by increasing x.
Trait Implementations§
Source§impl Clone for SeriesMeasurement
impl Clone for SeriesMeasurement
Source§impl Debug for SeriesMeasurement
impl Debug for SeriesMeasurement
Source§impl PartialEq for SeriesMeasurement
impl PartialEq for SeriesMeasurement
impl StructuralPartialEq for SeriesMeasurement
Auto Trait Implementations§
impl Forget for SeriesMeasurement
impl Freeze for SeriesMeasurement
impl Move for SeriesMeasurement
impl RefUnwindSafe for SeriesMeasurement
impl Send for SeriesMeasurementwhere
RawVecInner: Send,
impl Sync for SeriesMeasurementwhere
RawVecInner: Sync,
impl Unpin for SeriesMeasurement
impl UnsafeUnpin for SeriesMeasurement
impl UnwindSafe for SeriesMeasurementwhere
RawVecInner: UnwindSafe,
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more