Struct chart_js_rs::types::ChartPlugins
source · pub struct ChartPlugins<A: Annotation> {
pub autocolors: Option<bool>,
pub tooltip: Option<TooltipPlugins>,
pub annotation: Option<Annotations<A>>,
pub title: Option<Title>,
pub legend: Option<PluginLegend>,
}Fields§
§autocolors: Option<bool>§tooltip: Option<TooltipPlugins>§annotation: Option<Annotations<A>>§title: Option<Title>§legend: Option<PluginLegend>Trait Implementations§
source§impl<A: Clone + Annotation> Clone for ChartPlugins<A>
impl<A: Clone + Annotation> Clone for ChartPlugins<A>
source§fn clone(&self) -> ChartPlugins<A>
fn clone(&self) -> ChartPlugins<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 ChartPlugins<A>
impl<A: Debug + Annotation> Debug for ChartPlugins<A>
source§impl<A: Default + Annotation> Default for ChartPlugins<A>
impl<A: Default + Annotation> Default for ChartPlugins<A>
source§fn default() -> ChartPlugins<A>
fn default() -> ChartPlugins<A>
Returns the “default value” for a type. Read more
source§impl<A: PartialEq + Annotation> PartialEq for ChartPlugins<A>
impl<A: PartialEq + Annotation> PartialEq for ChartPlugins<A>
source§fn eq(&self, other: &ChartPlugins<A>) -> bool
fn eq(&self, other: &ChartPlugins<A>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<A> Serialize for ChartPlugins<A>where
A: Serialize + Annotation,
impl<A> Serialize for ChartPlugins<A>where
A: Serialize + Annotation,
impl<A: Eq + Annotation> Eq for ChartPlugins<A>
impl<A: Annotation> StructuralEq for ChartPlugins<A>
impl<A: Annotation> StructuralPartialEq for ChartPlugins<A>
Auto Trait Implementations§
impl<A> RefUnwindSafe for ChartPlugins<A>where
A: RefUnwindSafe,
impl<A> Send for ChartPlugins<A>where
A: Send,
impl<A> Sync for ChartPlugins<A>where
A: Sync,
impl<A> Unpin for ChartPlugins<A>where
A: Unpin,
impl<A> UnwindSafe for ChartPlugins<A>where
A: UnwindSafe,
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