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: NumberStringTrait 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 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<ScaleTicks> for ScaleTicks
impl PartialEq<ScaleTicks> 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<ScaleTicks> for ScaleTicks
impl PartialOrd<ScaleTicks> 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 more