diff options
author | 2022-05-06 22:10:29 +0300 | |
---|---|---|
committer | 2022-10-05 19:08:07 +0200 | |
commit | dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd (patch) | |
tree | 77ef43ef8d6aa857ec2b1a3b7cd2a26b99905413 /style | |
parent | d95c216b2db76dd812b960d39499dc5e03a81ffc (diff) | |
download | iced-dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd.tar.gz iced-dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd.tar.bz2 iced-dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd.zip |
Derive `Clone` and `Copy` for `toggler::Appearance`
Diffstat (limited to 'style')
-rw-r--r-- | style/src/toggler.rs | 2 |
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>, |