pub struct NearestPoint {
pub series: usize,
pub index: usize,
pub x: f64,
pub y: f64,
}Expand description
Result of a nearest-point lookup.
Fields§
§series: usizeSeries index.
index: usizePoint index within the series.
x: f64Point x (data coordinates).
y: f64Point y (data coordinates).
Trait Implementations§
Source§impl Clone for NearestPoint
impl Clone for NearestPoint
impl Copy for NearestPoint
Source§impl Debug for NearestPoint
impl Debug for NearestPoint
Source§impl PartialEq for NearestPoint
impl PartialEq for NearestPoint
impl StructuralPartialEq for NearestPoint
Auto Trait Implementations§
impl Forget for NearestPoint
impl Freeze for NearestPoint
impl RefUnwindSafe for NearestPoint
impl Send for NearestPoint
impl Sync for NearestPoint
impl Unpin for NearestPoint
impl UnsafeUnpin for NearestPoint
impl UnwindSafe for NearestPoint
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
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