pub struct ChartElements {
pub title: Option<String>,
pub axes: ChartAxes,
pub legend: Vec<LegendEntry>,
pub series: Vec<DataSeries>,
pub annotations: Vec<ChartAnnotation>,
}Expand description
Chart elements
Fields§
§title: Option<String>Chart title
axes: ChartAxesAxis labels
legend: Vec<LegendEntry>Legend entries
series: Vec<DataSeries>Data series
annotations: Vec<ChartAnnotation>Annotations
Trait Implementations§
Source§impl Clone for ChartElements
impl Clone for ChartElements
Source§fn clone(&self) -> ChartElements
fn clone(&self) -> ChartElements
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 ChartElements
impl RefUnwindSafe for ChartElements
impl Send for ChartElements
impl Sync for ChartElements
impl Unpin for ChartElements
impl UnwindSafe for ChartElements
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