Struct chart_js_rs::types::ChartElements
source · pub struct ChartElements {
pub bar: Option<BarElementConfiguration>,
pub line: Option<LineElementConfiguration>,
pub point: Option<PointElementConfiguration>,
}Fields§
§bar: Option<BarElementConfiguration>§line: Option<LineElementConfiguration>§point: Option<PointElementConfiguration>Trait Implementations§
source§impl Clone for ChartElements
impl Clone for ChartElements
source§fn clone(&self) -> ChartElements
fn clone(&self) -> ChartElements
Returns a copy 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 moresource§impl Debug for ChartElements
impl Debug for ChartElements
source§impl Default for ChartElements
impl Default for ChartElements
source§fn default() -> ChartElements
fn default() -> ChartElements
Returns the “default value” for a type. Read more
source§impl Ord for ChartElements
impl Ord for ChartElements
source§fn cmp(&self, other: &ChartElements) -> Ordering
fn cmp(&self, other: &ChartElements) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ChartElements> for ChartElements
impl PartialEq<ChartElements> for ChartElements
source§fn eq(&self, other: &ChartElements) -> bool
fn eq(&self, other: &ChartElements) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ChartElements> for ChartElements
impl PartialOrd<ChartElements> for ChartElements
source§fn partial_cmp(&self, other: &ChartElements) -> Option<Ordering>
fn partial_cmp(&self, other: &ChartElements) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more