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
sourceimpl<A: Clone + Annotation> Clone for Annotations<A>
impl<A: Clone + Annotation> Clone for Annotations<A>
sourcefn clone(&self) -> Annotations<A>
fn clone(&self) -> Annotations<A>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<A: Debug + Annotation> Debug for Annotations<A>
impl<A: Debug + Annotation> Debug for Annotations<A>
sourceimpl<A: Default + Annotation> Default for Annotations<A>
impl<A: Default + Annotation> Default for Annotations<A>
sourcefn default() -> Annotations<A>
fn default() -> Annotations<A>
Returns the “default value” for a type. Read more
sourceimpl<A: Annotation> Serialize for Annotations<A>where
A: Serialize,
impl<A: Annotation> Serialize for Annotations<A>where
A: Serialize,
Auto Trait Implementations
impl<A> RefUnwindSafe for Annotations<A>where
A: RefUnwindSafe,
impl<A> Send for Annotations<A>where
A: Send,
impl<A> Sync for Annotations<A>where
A: Sync,
impl<A> Unpin for Annotations<A>where
A: Unpin,
impl<A> UnwindSafe for Annotations<A>where
A: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more