#[non_exhaustive]pub struct BarStyle {
pub body: f32,
}Expand description
How bars are drawn: BarStyle::new(), with_body for wider or
narrower ones.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.body: f32How much of the distance between two bars a bar takes (0.1 to 1).
Implementations§
Trait Implementations§
impl Copy for BarStyle
impl StructuralPartialEq for BarStyle
Auto Trait Implementations§
impl Freeze for BarStyle
impl RefUnwindSafe for BarStyle
impl Send for BarStyle
impl Sync for BarStyle
impl Unpin for BarStyle
impl UnsafeUnpin for BarStyle
impl UnwindSafe for BarStyle
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