diff options
author | 2021-01-29 19:56:33 +0100 | |
---|---|---|
committer | 2021-01-29 19:56:33 +0100 | |
commit | 12c0c18d662d2b817b559b94c71d18e122c76990 (patch) | |
tree | 9127adfdba5c4e148dc1f91e2974302f2598132e /style/src/checkbox.rs | |
parent | c7898a101ce18210ccb09610da1f09e62c1cc3bd (diff) | |
parent | 2969558afd7da2443641e81ee84b4faa99eceba4 (diff) | |
download | iced-12c0c18d662d2b817b559b94c71d18e122c76990.tar.gz iced-12c0c18d662d2b817b559b94c71d18e122c76990.tar.bz2 iced-12c0c18d662d2b817b559b94c71d18e122c76990.zip |
Merge pull request #720 from taiki-e/style-clone
impl Clone and Copy for all Style types in iced_style
Diffstat (limited to 'style/src/checkbox.rs')
-rw-r--r-- | style/src/checkbox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/checkbox.rs b/style/src/checkbox.rs index 1c5f2460..566136bb 100644 --- a/style/src/checkbox.rs +++ b/style/src/checkbox.rs @@ -2,7 +2,7 @@ use iced_core::{Background, Color}; /// The appearance of a checkbox. -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Style { pub background: Background, pub checkmark_color: Color, |