#[non_exhaustive]pub enum LineStyle {
Solid,
Dashed,
Dotted,
DashDot,
}Expand description
Line drawing style.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Solid
A continuous solid line.
Dashed
A dashed line (e.g. [6, 4]).
Dotted
A dotted line (e.g. [2, 2]).
DashDot
Alternating long dash and dot (e.g. [6, 3, 2, 3]).
Trait Implementations§
impl Copy for LineStyle
impl Eq for LineStyle
impl StructuralPartialEq for LineStyle
Auto Trait Implementations§
impl Freeze 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