summaryrefslogtreecommitdiffstats
path: root/style/src/radio.rs
diff options
context:
space:
mode:
authorLibravatar Taiki Endo <te316e89@gmail.com>2021-01-29 14:08:14 +0900
committerLibravatar Taiki Endo <te316e89@gmail.com>2021-01-29 14:08:14 +0900
commit2969558afd7da2443641e81ee84b4faa99eceba4 (patch)
treec0d4be2b4cb242b32ec2a3f7f5bce5eb70cad702 /style/src/radio.rs
parent8d882d787e6b7fd7c2435f42f82933e2ed904edf (diff)
downloadiced-2969558afd7da2443641e81ee84b4faa99eceba4.tar.gz
iced-2969558afd7da2443641e81ee84b4faa99eceba4.tar.bz2
iced-2969558afd7da2443641e81ee84b4faa99eceba4.zip
impl Clone and Copy for all Style types in iced_style
Diffstat (limited to '')
-rw-r--r--style/src/radio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/radio.rs b/style/src/radio.rs
index 83310e05..c41b70c0 100644
--- a/style/src/radio.rs
+++ b/style/src/radio.rs
@@ -2,7 +2,7 @@
use iced_core::{Background, Color};
/// The appearance of a radio button.
-#[derive(Debug)]
+#[derive(Debug, Clone, Copy)]
pub struct Style {
pub background: Background,
pub dot_color: Color,