Enum zng_view_api::LineStyle
source · #[repr(u8)]pub enum LineStyle {
Solid,
Dotted,
Dashed,
Wavy(f32),
}Expand description
Represents a line style.
Variants§
Solid
Dotted
Dashed
Wavy(f32)
A wavy line, like an error underline.
The wave magnitude is defined by the overall line thickness, the associated value here defines the thickness of the wavy line.
Trait Implementations§
source§impl<'de> Deserialize<'de> for LineStyle
impl<'de> Deserialize<'de> for LineStyle
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
source§impl PartialEq for LineStyle
impl PartialEq for LineStyle
impl Copy 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 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