pub struct BarChartConfig {
pub direction: BarDirection,
pub bar_width: u16,
pub bar_gap: u16,
pub group_gap: u16,
pub max_value: Option<f64>,
}Fields§
§direction: BarDirection§bar_width: u16§bar_gap: u16§group_gap: u16§max_value: Option<f64>Implementations§
Source§impl BarChartConfig
impl BarChartConfig
pub fn direction(&mut self, direction: BarDirection) -> &mut Self
pub fn bar_width(&mut self, bar_width: u16) -> &mut Self
pub fn bar_gap(&mut self, bar_gap: u16) -> &mut Self
pub fn group_gap(&mut self, group_gap: u16) -> &mut Self
pub fn max_value(&mut self, max_value: f64) -> &mut Self
Trait Implementations§
Source§impl Clone for BarChartConfig
impl Clone for BarChartConfig
Source§fn clone(&self) -> BarChartConfig
fn clone(&self) -> BarChartConfig
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 BarChartConfig
impl Debug for BarChartConfig
Source§impl Default for BarChartConfig
impl Default for BarChartConfig
impl Copy for BarChartConfig
Auto Trait Implementations§
impl Freeze for BarChartConfig
impl RefUnwindSafe for BarChartConfig
impl Send for BarChartConfig
impl Sync for BarChartConfig
impl Unpin for BarChartConfig
impl UnsafeUnpin for BarChartConfig
impl UnwindSafe for BarChartConfig
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