summaryrefslogtreecommitdiffstats
path: root/graphics/src/geometry/stroke.rs
diff options
context:
space:
mode:
authorLibravatar Vlad-Stefan Harbuz <vlad@vladh.net>2024-06-21 11:55:42 +0100
committerLibravatar Vlad-Stefan Harbuz <vlad@vladh.net>2024-06-21 11:58:35 +0100
commita7224a782751f2927b8bcce7ade26d3557563ae5 (patch)
treef87f385221302d45ecbd4fac7465453e404ca7ad /graphics/src/geometry/stroke.rs
parent50dd2a6cc03fdc184b7a9fb0f7a659952a742a79 (diff)
downloadiced-a7224a782751f2927b8bcce7ade26d3557563ae5.tar.gz
iced-a7224a782751f2927b8bcce7ade26d3557563ae5.tar.bz2
iced-a7224a782751f2927b8bcce7ade26d3557563ae5.zip
Implement Copy on Fill and Stroke
Diffstat (limited to '')
-rw-r--r--graphics/src/geometry/stroke.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/geometry/stroke.rs b/graphics/src/geometry/stroke.rs
index aff49ab3..b8f4515e 100644
--- a/graphics/src/geometry/stroke.rs
+++ b/graphics/src/geometry/stroke.rs
@@ -6,7 +6,7 @@ pub use crate::geometry::Style;
use iced_core::Color;
/// The style of a stroke.
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, Copy)]
pub struct Stroke<'a> {
/// The color or gradient of the stroke.
///