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