pub struct LineStyle {
pub color: Color,
pub size: f64,
pub cap: LineCap,
pub join: LineJoin,
}
Expand description
A struct containing every line option.
Fields§
§color: Color
The color of the line
size: f64
The width of the line in pixels
cap: LineCap
The lineCap mode
join: LineJoin
The lineJoin mode
Implementations§
Trait Implementations§
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