pub struct Extremum {
pub index: usize,
pub point: [f64; 2],
pub slope: Option<f64>,
}Expand description
One local extremum of a series inside a region.
Fields§
§index: usizeIndex in the series’ original data.
point: [f64; 2]Point in data coordinates.
slope: Option<f64>Slope through the neighboring points, when both sides exist.
Trait Implementations§
impl Copy for Extremum
impl StructuralPartialEq for Extremum
Auto Trait Implementations§
impl Forget for Extremum
impl Freeze for Extremum
impl Move for Extremum
impl RefUnwindSafe for Extremum
impl Send for Extremum
impl Sync for Extremum
impl Unpin for Extremum
impl UnsafeUnpin for Extremum
impl UnwindSafe for Extremum
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