Struct chart_js_rs::types::ChartOptions
source · [−]pub struct ChartOptions<A: Annotation> {
pub plugins: Option<ChartPlugins<A>>,
pub scales: Option<HashMap<String, ChartScale>>,
pub interaction: Option<ChartInteraction>,
pub tooltips: Option<ChartTooltips>,
pub maintainAspectRatio: Option<bool>,
pub legend: Option<ChartLegend>,
pub animation: Option<Animation>,
pub spanGaps: Option<bool>,
pub elements: Option<ChartElements>,
pub responsive: Option<bool>,
}Fields
plugins: Option<ChartPlugins<A>>scales: Option<HashMap<String, ChartScale>>interaction: Option<ChartInteraction>tooltips: Option<ChartTooltips>maintainAspectRatio: Option<bool>legend: Option<ChartLegend>animation: Option<Animation>spanGaps: Option<bool>elements: Option<ChartElements>responsive: Option<bool>Trait Implementations
sourceimpl<A: Clone + Annotation> Clone for ChartOptions<A>
impl<A: Clone + Annotation> Clone for ChartOptions<A>
sourcefn clone(&self) -> ChartOptions<A>
fn clone(&self) -> ChartOptions<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 ChartOptions<A>
impl<A: Debug + Annotation> Debug for ChartOptions<A>
sourceimpl<A: Default + Annotation> Default for ChartOptions<A>
impl<A: Default + Annotation> Default for ChartOptions<A>
sourcefn default() -> ChartOptions<A>
fn default() -> ChartOptions<A>
Returns the “default value” for a type. Read more
sourceimpl<A: Annotation> Serialize for ChartOptions<A>where
A: Serialize,
impl<A: Annotation> Serialize for ChartOptions<A>where
A: Serialize,
Auto Trait Implementations
impl<A> RefUnwindSafe for ChartOptions<A>where
A: RefUnwindSafe,
impl<A> Send for ChartOptions<A>where
A: Send,
impl<A> Sync for ChartOptions<A>where
A: Sync,
impl<A> Unpin for ChartOptions<A>where
A: Unpin,
impl<A> UnwindSafe for ChartOptions<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