Struct chart_js_rs::types::ChartLegend
source · [−]pub struct ChartLegend {
pub position: Option<String>,
pub labels: Option<LegendLabel>,
}Fields
position: Option<String>labels: Option<LegendLabel>Trait Implementations
sourceimpl Clone for ChartLegend
impl Clone for ChartLegend
sourcefn clone(&self) -> ChartLegend
fn clone(&self) -> ChartLegend
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 Debug for ChartLegend
impl Debug for ChartLegend
sourceimpl Default for ChartLegend
impl Default for ChartLegend
sourcefn default() -> ChartLegend
fn default() -> ChartLegend
Returns the “default value” for a type. Read more
sourceimpl Serialize for ChartLegend
impl Serialize for ChartLegend
Auto Trait Implementations
impl RefUnwindSafe for ChartLegend
impl Send for ChartLegend
impl Sync for ChartLegend
impl Unpin for ChartLegend
impl UnwindSafe for ChartLegend
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