pub struct SpacingCalculator;Implementations§
Source§impl SpacingCalculator
impl SpacingCalculator
pub fn date_spacing(config: SpacingConfig) -> &'static str
pub fn date_spacing_legacy( idx: usize, in_month: bool, prev_in_month: bool, next_in_month: bool, first_out_of_month: bool, ) -> &'static str
pub fn border_width_before(bar_idx: usize) -> usize
pub fn border_width_after(bar_idx: usize) -> usize
Trait Implementations§
Source§impl Clone for SpacingCalculator
impl Clone for SpacingCalculator
Source§fn clone(&self) -> SpacingCalculator
fn clone(&self) -> SpacingCalculator
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 SpacingCalculator
impl Debug for SpacingCalculator
impl Copy for SpacingCalculator
Auto Trait Implementations§
impl Freeze for SpacingCalculator
impl RefUnwindSafe for SpacingCalculator
impl Send for SpacingCalculator
impl Sync for SpacingCalculator
impl Unpin for SpacingCalculator
impl UnwindSafe for SpacingCalculator
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