Struct chart_js_rs::types::Annotations
source · pub struct Annotations<A: Annotation> {
pub annotations: Option<HashMap<String, A>>,
}Fields§
§annotations: Option<HashMap<String, A>>Trait Implementations§
source§impl<A: Clone + Annotation> Clone for Annotations<A>
impl<A: Clone + Annotation> Clone for Annotations<A>
source§fn clone(&self) -> Annotations<A>
fn clone(&self) -> Annotations<A>
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<A: Debug + Annotation> Debug for Annotations<A>
impl<A: Debug + Annotation> Debug for Annotations<A>
source§impl<A: Default + Annotation> Default for Annotations<A>
impl<A: Default + Annotation> Default for Annotations<A>
source§fn default() -> Annotations<A>
fn default() -> Annotations<A>
Returns the “default value” for a type. Read more
source§impl<A: PartialEq + Annotation> PartialEq<Annotations<A>> for Annotations<A>
impl<A: PartialEq + Annotation> PartialEq<Annotations<A>> for Annotations<A>
source§fn eq(&self, other: &Annotations<A>) -> bool
fn eq(&self, other: &Annotations<A>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.