pub struct RangeBarConfig {
pub style: RangeBarStyle,
pub body_width_factor: f32,
pub line_width: f32,
pub min_width: f32,
pub max_width: f32,
}Expand description
Configuration for range bar appearance
Fields§
§style: RangeBarStyleVisual style
body_width_factor: f32Width factor for bar bodies (0.0-1.0, relative to time spacing)
line_width: f32Width of lines (wicks, whiskers) in pixels
min_width: f32Minimum bar width in pixels
max_width: f32Maximum bar width in pixels
Trait Implementations§
Source§impl Clone for RangeBarConfig
impl Clone for RangeBarConfig
Source§fn clone(&self) -> RangeBarConfig
fn clone(&self) -> RangeBarConfig
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 RangeBarConfig
impl Debug for RangeBarConfig
Auto Trait Implementations§
impl Freeze for RangeBarConfig
impl RefUnwindSafe for RangeBarConfig
impl Send for RangeBarConfig
impl Sync for RangeBarConfig
impl Unpin for RangeBarConfig
impl UnsafeUnpin for RangeBarConfig
impl UnwindSafe for RangeBarConfig
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