Struct chart_js_rs::types::PluginLegend
source · pub struct PluginLegend {
pub display: Option<bool>,
pub labels: Option<LegendLabel>,
pub position: String,
pub reverse: Option<bool>,
}
Fields§
§display: Option<bool>
§labels: Option<LegendLabel>
§position: String
§reverse: Option<bool>
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<'de> Deserialize<'de> for PluginLegend
impl<'de> Deserialize<'de> for PluginLegend
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 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 for PluginLegend
impl PartialEq 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 for PluginLegend
impl PartialOrd 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 moresource§impl Serialize for PluginLegend
impl Serialize for PluginLegend
impl Eq for PluginLegend
impl StructuralPartialEq for PluginLegend
Auto Trait Implementations§
impl Freeze for PluginLegend
impl RefUnwindSafe for PluginLegend
impl Send for PluginLegend
impl Sync for PluginLegend
impl Unpin for PluginLegend
impl UnwindSafe for PluginLegend
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