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