pub struct Stroke {
pub width: f32,
pub cap: Cap,
pub join: Join,
pub miter_limit: f32,
pub dash: Option<Dash>,
}Fields§
§width: f32§cap: Cap§join: Join§miter_limit: f32Miter length ÷ half-width beyond which a join bevels (SVG default 4).
dash: Option<Dash>Implementations§
Trait Implementations§
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 UnsafeUnpin 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