summaryrefslogtreecommitdiffstats
path: root/graphics/src/geometry/style.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/style.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/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/geometry/style.rs b/graphics/src/geometry/style.rs
index a0f4b08a..de77eccc 100644
--- a/graphics/src/geometry/style.rs
+++ b/graphics/src/geometry/style.rs
@@ -2,7 +2,7 @@ use crate::core::Color;
use crate::geometry::Gradient;
/// The coloring style of some drawing.
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Style {
/// A solid [`Color`].
Solid(Color),