Struct chart_js_rs::types::BarElementConfiguration
source · pub struct BarElementConfiguration {
pub fill: Option<bool>,
pub borderRadius: NumberString,
pub borderWidth: NumberString,
pub hoverBorderWidth: NumberString,
}
Fields§
§fill: Option<bool>
§borderRadius: NumberString
§borderWidth: NumberString
§hoverBorderWidth: NumberString
Trait Implementations§
source§impl Clone for BarElementConfiguration
impl Clone for BarElementConfiguration
source§fn clone(&self) -> BarElementConfiguration
fn clone(&self) -> BarElementConfiguration
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 BarElementConfiguration
impl Debug for BarElementConfiguration
source§impl Default for BarElementConfiguration
impl Default for BarElementConfiguration
source§fn default() -> BarElementConfiguration
fn default() -> BarElementConfiguration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BarElementConfiguration
impl<'de> Deserialize<'de> for BarElementConfiguration
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 BarElementConfiguration
impl Ord for BarElementConfiguration
source§fn cmp(&self, other: &BarElementConfiguration) -> Ordering
fn cmp(&self, other: &BarElementConfiguration) -> 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 BarElementConfiguration
impl PartialEq for BarElementConfiguration
source§fn eq(&self, other: &BarElementConfiguration) -> bool
fn eq(&self, other: &BarElementConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BarElementConfiguration
impl PartialOrd for BarElementConfiguration
source§fn partial_cmp(&self, other: &BarElementConfiguration) -> Option<Ordering>
fn partial_cmp(&self, other: &BarElementConfiguration) -> 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 BarElementConfiguration
impl Serialize for BarElementConfiguration
impl Eq for BarElementConfiguration
impl StructuralPartialEq for BarElementConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for BarElementConfiguration
impl Send for BarElementConfiguration
impl Sync for BarElementConfiguration
impl Unpin for BarElementConfiguration
impl UnwindSafe for BarElementConfiguration
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