summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorLibravatar BradySimon <bradytsimon@gmail.com>2024-10-12 19:55:41 -0400
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-10-14 20:59:32 +0200
commitf912d26d64c80fe767e97a0c79416d7398f04488 (patch)
tree7ab5b37c97532c2f65bae8783c6876dffa139ba4 /core/src
parentc217500a5abd1fbfc1e598fb98dadd3ee85d8a51 (diff)
downloadiced-f912d26d64c80fe767e97a0c79416d7398f04488.tar.gz
iced-f912d26d64c80fe767e97a0c79416d7398f04488.tar.bz2
iced-f912d26d64c80fe767e97a0c79416d7398f04488.zip
Add `PartialEq` derives for widget styles
Diffstat (limited to 'core/src')
-rw-r--r--core/src/widget/text.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/widget/text.rs b/core/src/widget/text.rs
index 8b02f8c2..b34c5632 100644
--- a/core/src/widget/text.rs
+++ b/core/src/widget/text.rs
@@ -389,7 +389,7 @@ where
}
/// The appearance of some text.
-#[derive(Debug, Clone, Copy, Default)]
+#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Style {
/// The [`Color`] of the text.
///