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