pub struct ChartData {
pub kind: String,
pub heading: Option<String>,
pub labels: Vec<String>,
pub series: Vec<ChartSeries>,
}Expand description
One chart, as its data table reads.
Fields§
§kind: StringHow it draws: line or bar.
heading: Option<String>Its heading, if it has one.
labels: Vec<String>The labels along its bottom.
series: Vec<ChartSeries>Its series, in the order the chart draws them.
Trait Implementations§
impl Eq for ChartData
impl StructuralPartialEq for ChartData
Auto Trait Implementations§
impl Forget for ChartData
impl Freeze for ChartData
impl Move for ChartData
impl RefUnwindSafe for ChartData
impl Send for ChartData
impl Sync for ChartData
impl Unpin for ChartData
impl UnsafeUnpin for ChartData
impl UnwindSafe for ChartData
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.