pub struct SeriesPoint {
pub x: f64,
pub y: f64,
pub value: f64,
pub name: String,
pub data_index: usize,
}Expand description
One data point of a series, in pixel space.
Fields§
§x: f64The horizontal position, in canvas pixels.
y: f64The vertical position, in canvas pixels.
value: f64The value of the point.
name: StringThe name of the point.
data_index: usizeThe index of the point in the series’ data.
Trait Implementations§
Source§impl Clone for SeriesPoint
impl Clone for SeriesPoint
Source§impl Debug for SeriesPoint
impl Debug for SeriesPoint
Source§impl PartialEq for SeriesPoint
impl PartialEq for SeriesPoint
impl StructuralPartialEq for SeriesPoint
Auto Trait Implementations§
impl Freeze for SeriesPoint
impl RefUnwindSafe for SeriesPoint
impl Send for SeriesPoint
impl Sync for SeriesPoint
impl Unpin for SeriesPoint
impl UnsafeUnpin for SeriesPoint
impl UnwindSafe for SeriesPoint
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