pub struct LineStyle {
pub color: Color,
pub label: String,
pub width: f32,
pub antialias_samples: u32,
pub step: bool,
pub hidden: bool,
}Expand description
Per-series line style.
Fields§
§color: ColorAlpha-zero selects the next deterministic theme palette color.
label: String§width: f32§antialias_samples: u32§step: boolDraw as a step function: each y value holds to the next x
(matplotlib steps-post).
Skip rendering while keeping the palette slot and legend entry.
Trait Implementations§
Auto Trait Implementations§
impl Forget for LineStyle
impl Freeze for LineStyle
impl Move for LineStyle
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin for LineStyle
impl UnsafeUnpin for LineStyle
impl UnwindSafe for LineStyle
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