Struct chart_js_rs::types::LegendLabel
source · pub struct LegendLabel {
pub usePointStyle: Option<bool>,
pub boxHeight: Option<usize>,
pub boxWidth: Option<usize>,
pub pointStyle: String,
pub pointStyleWidth: NumberString,
}Fields§
§usePointStyle: Option<bool>§boxHeight: Option<usize>§boxWidth: Option<usize>§pointStyle: String§pointStyleWidth: NumberStringTrait Implementations§
source§impl Clone for LegendLabel
impl Clone for LegendLabel
source§fn clone(&self) -> LegendLabel
fn clone(&self) -> LegendLabel
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 LegendLabel
impl Debug for LegendLabel
source§impl Default for LegendLabel
impl Default for LegendLabel
source§fn default() -> LegendLabel
fn default() -> LegendLabel
Returns the “default value” for a type. Read more
source§impl Ord for LegendLabel
impl Ord for LegendLabel
source§fn cmp(&self, other: &LegendLabel) -> Ordering
fn cmp(&self, other: &LegendLabel) -> 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<LegendLabel> for LegendLabel
impl PartialEq<LegendLabel> for LegendLabel
source§fn eq(&self, other: &LegendLabel) -> bool
fn eq(&self, other: &LegendLabel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<LegendLabel> for LegendLabel
impl PartialOrd<LegendLabel> for LegendLabel
source§fn partial_cmp(&self, other: &LegendLabel) -> Option<Ordering>
fn partial_cmp(&self, other: &LegendLabel) -> 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