pub enum LineStyle {
Solid,
Dotted {
spacing: f32,
},
Dashed {
length: f32,
},
}
Variants§
Implementations§
source§impl LineStyle
impl LineStyle
pub fn dashed_loose() -> LineStyle
pub fn dashed_dense() -> LineStyle
pub fn dotted_loose() -> LineStyle
pub fn dotted_dense() -> LineStyle
Trait Implementations§
source§impl PartialEq for LineStyle
impl PartialEq for LineStyle
impl Copy for LineStyle
impl StructuralPartialEq for LineStyle
Auto Trait Implementations§
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