Struct chart_js_rs::types::LegendLabel
source · pub struct LegendLabel {
pub usePointStyle: Option<bool>,
pub useBorderRadius: Option<bool>,
pub boxHeight: Option<usize>,
pub boxWidth: Option<usize>,
pub pointStyle: String,
pub pointStyleWidth: NumberString,
}
Fields§
§usePointStyle: Option<bool>
§useBorderRadius: Option<bool>
§boxHeight: Option<usize>
§boxWidth: Option<usize>
§pointStyle: String
§pointStyleWidth: NumberString
Trait 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<'de> Deserialize<'de> for LegendLabel
impl<'de> Deserialize<'de> for LegendLabel
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 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 for LegendLabel
impl PartialEq 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 for LegendLabel
impl PartialOrd 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 moresource§impl Serialize for LegendLabel
impl Serialize for LegendLabel
impl Eq for LegendLabel
impl StructuralPartialEq for LegendLabel
Auto Trait Implementations§
impl RefUnwindSafe for LegendLabel
impl Send for LegendLabel
impl Sync for LegendLabel
impl Unpin for LegendLabel
impl UnwindSafe for LegendLabel
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