pub struct BarData {
pub label: String,
pub value: f64,
pub color: Option<Color>,
}Expand description
A single bar in a bar chart.
Fields§
§label: StringLabel for this bar
value: f64Value (will be scaled to fit width)
color: Option<Color>Optional color for this bar
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BarData
impl RefUnwindSafe for BarData
impl Send for BarData
impl Sync for BarData
impl Unpin for BarData
impl UnwindSafe for BarData
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