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: NumberString
Trait 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<'de> Deserialize<'de> for BoxAnnotation
impl<'de> Deserialize<'de> for BoxAnnotation
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 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 for BoxAnnotation
impl PartialEq 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 for BoxAnnotation
impl PartialOrd 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 moresource§impl Serialize for BoxAnnotation
impl Serialize for BoxAnnotation
impl Annotation for BoxAnnotation
impl Eq for BoxAnnotation
impl StructuralPartialEq for BoxAnnotation
Auto Trait Implementations§
impl Freeze for BoxAnnotation
impl RefUnwindSafe for BoxAnnotation
impl Send for BoxAnnotation
impl Sync for BoxAnnotation
impl Unpin for BoxAnnotation
impl UnwindSafe for BoxAnnotation
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