pub enum LineStylePreset {
Solid,
Dash,
Dot,
DashDot,
DashDotDot,
ShortDash,
ShortDot,
ShortDashDot,
LongDash,
LongDashDot,
LongDashDotDot,
}Variants§
Solid
Solid line (no pattern).
Dash
Standard dash: [8, 4].
Dot
Dotted: [2, 3].
DashDot
Dash-dot: [8, 4, 2, 4].
DashDotDot
Dash-dot-dot: [8, 4, 2, 4, 2, 4].
ShortDash
Short dash: [4, 3].
ShortDot
Short dot (dense dots): [1, 2].
ShortDashDot
Short dash-dot: [4, 3, 1, 3].
LongDash
Long dash: [14, 4].
LongDashDot
Long dash-dot: [14, 4, 2, 4].
LongDashDotDot
Long dash-dot-dot: [14, 4, 2, 4, 2, 4].
Implementations§
Trait Implementations§
Source§impl Clone for LineStylePreset
impl Clone for LineStylePreset
impl Copy for LineStylePreset
Source§impl Debug for LineStylePreset
impl Debug for LineStylePreset
Source§impl Default for LineStylePreset
impl Default for LineStylePreset
Source§impl<'de> Deserialize<'de> for LineStylePreset
impl<'de> Deserialize<'de> for LineStylePreset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LineStylePreset
Source§impl Hash for LineStylePreset
impl Hash for LineStylePreset
Source§impl PartialEq for LineStylePreset
impl PartialEq for LineStylePreset
Source§impl Serialize for LineStylePreset
impl Serialize for LineStylePreset
impl StructuralPartialEq for LineStylePreset
Auto Trait Implementations§
impl Freeze for LineStylePreset
impl RefUnwindSafe for LineStylePreset
impl Send for LineStylePreset
impl Sync for LineStylePreset
impl Unpin for LineStylePreset
impl UnsafeUnpin for LineStylePreset
impl UnwindSafe for LineStylePreset
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