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