diff options
author | 2024-10-14 21:09:16 +0200 | |
---|---|---|
committer | 2024-10-14 21:09:16 +0200 | |
commit | 5d8fc922c840b9492699a7981dd6bbbe8ed0489d (patch) | |
tree | 7ab5b37c97532c2f65bae8783c6876dffa139ba4 /widget/src/checkbox.rs | |
parent | c217500a5abd1fbfc1e598fb98dadd3ee85d8a51 (diff) | |
parent | f912d26d64c80fe767e97a0c79416d7398f04488 (diff) | |
download | iced-5d8fc922c840b9492699a7981dd6bbbe8ed0489d.tar.gz iced-5d8fc922c840b9492699a7981dd6bbbe8ed0489d.tar.bz2 iced-5d8fc922c840b9492699a7981dd6bbbe8ed0489d.zip |
Merge pull request #2637 from Brady-Simon/style-partialeq
Add PartialEq derives for widget styles
Diffstat (limited to 'widget/src/checkbox.rs')
-rw-r--r-- | widget/src/checkbox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/checkbox.rs b/widget/src/checkbox.rs index 4b2f6075..819f0d9d 100644 --- a/widget/src/checkbox.rs +++ b/widget/src/checkbox.rs @@ -481,7 +481,7 @@ pub enum Status { } /// The style of a checkbox. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct Style { /// The [`Background`] of the checkbox. pub background: Background, |