#[repr(C)]pub struct ChartRefLine {
pub value: f32,
pub label: String,
pub dashed: bool,
}Expand description
A horizontal reference line across a Widget::RegionChart at value, with a right-edge
label chip. dashed draws it dashed (e.g. a “max insured” ceiling) vs solid (a target).
Fields§
§value: f32§label: String§dashed: boolImplementations§
Trait Implementations§
Source§impl Clone for ChartRefLine
impl Clone for ChartRefLine
Source§impl Debug for ChartRefLine
impl Debug for ChartRefLine
Source§impl<'de> Deserialize<'de> for ChartRefLine
impl<'de> Deserialize<'de> for ChartRefLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'ʄ> Facet<'ʄ> for ChartRefLine
impl<'ʄ> Facet<'ʄ> for ChartRefLine
Source§impl PartialEq for ChartRefLine
impl PartialEq for ChartRefLine
Source§impl Serialize for ChartRefLine
impl Serialize for ChartRefLine
impl StructuralPartialEq for ChartRefLine
Auto Trait Implementations§
impl Freeze for ChartRefLine
impl RefUnwindSafe for ChartRefLine
impl Send for ChartRefLine
impl Sync for ChartRefLine
impl Unpin for ChartRefLine
impl UnsafeUnpin for ChartRefLine
impl UnwindSafe for ChartRefLine
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