pub struct Point {
pub value: f64,
pub label: Option<String>,
pub title: Option<String>,
pub tone: Option<Tone>,
pub token: Option<String>,
}Expand description
One bar of a bars or spark chart, one point of a one-series line
or area chart, or one segment of a donut.
Fields§
§value: f64The value.
label: Option<String>A label (line/area: the point’s x label; donut: its legend row).
title: Option<String>A tooltip.
tone: Option<Tone>This bar’s fill instead of the chart’s token.
token: Option<String>donut: this segment’s color token.
Trait Implementations§
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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