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<'de> Deserialize<'de> for ChartElements
impl<'de> Deserialize<'de> for ChartElements
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 for ChartElements
impl PartialEq 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 for ChartElements
impl PartialOrd 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 moresource§impl Serialize for ChartElements
impl Serialize for ChartElements
impl Eq for ChartElements
impl StructuralPartialEq for ChartElements
Auto 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