pub struct DataSeries {
pub name: String,
pub points: Vec<DataPoint>,
pub color: Option<(u8, u8, u8)>,
pub line_style: Option<LineStyle>,
}Expand description
Data series in chart
Fields§
§name: StringSeries name
points: Vec<DataPoint>Data points
color: Option<(u8, u8, u8)>Series color
line_style: Option<LineStyle>Line style
Trait Implementations§
Source§impl Clone for DataSeries
impl Clone for DataSeries
Source§fn clone(&self) -> DataSeries
fn clone(&self) -> DataSeries
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DataSeries
impl RefUnwindSafe for DataSeries
impl Send for DataSeries
impl Sync for DataSeries
impl Unpin for DataSeries
impl UnwindSafe for DataSeries
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