pub struct ChartStyling {
    pub background_color: String,
    pub grid_color: String,
    pub text_color: String,
    pub axis_color: String,
    pub font_family: String,
    pub font_size: u32,
    pub show_legend: bool,
    pub show_grid: bool,
    pub show_axes: bool,
}Expand description
Chart styling options
Fields§
§background_color: StringChart background color
grid_color: StringGrid color
text_color: StringText color
axis_color: StringAxis color
font_family: StringFont family
font_size: u32Font size
show_legend: boolShow legend
show_grid: boolShow grid
show_axes: boolShow axes
Trait Implementations§
Source§impl Clone for ChartStyling
 
impl Clone for ChartStyling
Source§fn clone(&self) -> ChartStyling
 
fn clone(&self) -> ChartStyling
Returns a duplicate 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 Debug for ChartStyling
 
impl Debug for ChartStyling
Source§impl Default for ChartStyling
 
impl Default for ChartStyling
Source§impl<'de> Deserialize<'de> for ChartStyling
 
impl<'de> Deserialize<'de> for ChartStyling
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChartStyling
impl RefUnwindSafe for ChartStyling
impl Send for ChartStyling
impl Sync for ChartStyling
impl Unpin for ChartStyling
impl UnwindSafe for ChartStyling
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