Struct chart_js_rs::types::LineAnnotation
source · pub struct LineAnnotation {
pub type: String,
pub drawTime: String,
pub xMin: NumberOrDateString,
pub xMax: NumberOrDateString,
pub borderColor: String,
pub borderDash: Vec<NumberString>,
pub borderWidth: NumberString,
}Fields§
§type: String§drawTime: String§xMin: NumberOrDateString§xMax: NumberOrDateString§borderColor: String§borderDash: Vec<NumberString>§borderWidth: NumberStringTrait Implementations§
source§impl Clone for LineAnnotation
impl Clone for LineAnnotation
source§fn clone(&self) -> LineAnnotation
fn clone(&self) -> LineAnnotation
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 LineAnnotation
impl Debug for LineAnnotation
source§impl Default for LineAnnotation
impl Default for LineAnnotation
source§fn default() -> LineAnnotation
fn default() -> LineAnnotation
Returns the “default value” for a type. Read more
source§impl Ord for LineAnnotation
impl Ord for LineAnnotation
source§fn cmp(&self, other: &LineAnnotation) -> Ordering
fn cmp(&self, other: &LineAnnotation) -> 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<LineAnnotation> for LineAnnotation
impl PartialEq<LineAnnotation> for LineAnnotation
source§fn eq(&self, other: &LineAnnotation) -> bool
fn eq(&self, other: &LineAnnotation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<LineAnnotation> for LineAnnotation
impl PartialOrd<LineAnnotation> for LineAnnotation
source§fn partial_cmp(&self, other: &LineAnnotation) -> Option<Ordering>
fn partial_cmp(&self, other: &LineAnnotation) -> 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