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: String
Chart background color
grid_color: String
Grid color
text_color: String
Text color
axis_color: String
Axis color
font_family: String
Font family
font_size: u32
Font size
show_legend: bool
Show legend
show_grid: bool
Show grid
show_axes: bool
Show 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