pub struct ChartConfig {
pub width: u32,
pub height: u32,
pub title: Option<String>,
pub show_labels: bool,
}Expand description
Configuration for chart rendering.
Fields§
§width: u32Width of the chart in characters.
height: u32Height of the chart in characters.
title: Option<String>Title for the chart.
show_labels: boolWhether to show axis labels.
Trait Implementations§
Source§impl Clone for ChartConfig
impl Clone for ChartConfig
Source§impl Debug for ChartConfig
impl Debug for ChartConfig
Auto Trait Implementations§
impl Freeze for ChartConfig
impl RefUnwindSafe for ChartConfig
impl Send for ChartConfig
impl Sync for ChartConfig
impl Unpin for ChartConfig
impl UnsafeUnpin for ChartConfig
impl UnwindSafe for ChartConfig
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