pub struct ChartMark {
pub value: f64,
pub tone: Option<Tone>,
pub title: Option<String>,
}Expand description
A dashed reference line (a target, a limit) across a bars, spark,
line or area chart. Outside the domain it is clamped to its edge.
Fields§
§value: f64Where the line sits, in value units.
tone: Option<Tone>The line’s color (default muted foreground).
title: Option<String>The line’s tooltip.
Trait Implementations§
impl StructuralPartialEq for ChartMark
Auto Trait Implementations§
impl Freeze for ChartMark
impl RefUnwindSafe for ChartMark
impl Send for ChartMark
impl Sync for ChartMark
impl Unpin for ChartMark
impl UnsafeUnpin for ChartMark
impl UnwindSafe for ChartMark
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