pub struct LineStyle {
pub color: Color,
pub width: i32,
}
Expand description
The same as Style but without a fill color (only stroke color and width).
Fields§
§color: Color
The line stroke color.
width: i32
The line stroke width.
Trait Implementations§
Source§impl Ord for LineStyle
impl Ord for LineStyle
Source§impl PartialOrd for LineStyle
impl PartialOrd for LineStyle
impl Copy for LineStyle
impl Eq 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