summaryrefslogtreecommitdiffstats
path: root/style/src
diff options
context:
space:
mode:
authorLibravatar MG_REX <49415741+ThisIsRex@users.noreply.github.com>2022-05-06 22:10:29 +0300
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-10-05 19:08:07 +0200
commitdbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd (patch)
tree77ef43ef8d6aa857ec2b1a3b7cd2a26b99905413 /style/src
parentd95c216b2db76dd812b960d39499dc5e03a81ffc (diff)
downloadiced-dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd.tar.gz
iced-dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd.tar.bz2
iced-dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd.zip
Derive `Clone` and `Copy` for `toggler::Appearance`
Diffstat (limited to 'style/src')
-rw-r--r--style/src/toggler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/toggler.rs b/style/src/toggler.rs
index 4ee7db46..0acf8e97 100644
--- a/style/src/toggler.rs
+++ b/style/src/toggler.rs
@@ -2,7 +2,7 @@
use iced_core::Color;
/// The appearance of a toggler.
-#[derive(Debug)]
+#[derive(Debug, Clone, Copy)]
pub struct Appearance {
pub background: Color,
pub background_border: Option<Color>,