pub struct Stroke {
pub width: f32,
pub miter: f32,
pub cap: StrokeCap,
pub join: StrokeJoin,
}Expand description
Properties of a stroke.
Fields§
§width: f32The width of the stroke.
miter: f32The miter limit of the stroke.
cap: StrokeCapThe cap of the stroke.
join: StrokeJoinThe join of the stroke.
Trait Implementations§
impl Copy for Stroke
impl StructuralPartialEq for Stroke
Auto Trait Implementations§
impl Freeze for Stroke
impl RefUnwindSafe for Stroke
impl Send for Stroke
impl Sync for Stroke
impl Unpin for Stroke
impl UnwindSafe for Stroke
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