From f912d26d64c80fe767e97a0c79416d7398f04488 Mon Sep 17 00:00:00 2001 From: BradySimon Date: Sat, 12 Oct 2024 19:55:41 -0400 Subject: Add `PartialEq` derives for widget styles --- widget/src/text_input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widget/src/text_input.rs') diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs index 5bbf76f5..ff413779 100644 --- a/widget/src/text_input.rs +++ b/widget/src/text_input.rs @@ -1541,7 +1541,7 @@ pub enum Status { } /// The appearance of a text input. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct Style { /// The [`Background`] of the text input. pub background: Background, -- cgit