#[repr(u16)]pub enum LineType {
Solid = 0,
DashedShort = 10,
DashedLong = 15,
Dotted = 20,
DashedDotted = 30,
}
Expand description
Stroke of a line
Variants§
Solid = 0
Solid line
DashedShort = 10
Short dashes
DashedLong = 15
Long dashes
Dotted = 20
Dots
DashedDotted = 30
Dots and dashes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineType
impl<'de> Deserialize<'de> for LineType
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 Copy for LineType
Auto Trait Implementations§
impl Freeze for LineType
impl RefUnwindSafe for LineType
impl Send for LineType
impl Sync for LineType
impl Unpin for LineType
impl UnwindSafe for LineType
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