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/container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widget/src/container.rs') diff --git a/widget/src/container.rs b/widget/src/container.rs index b256540c..f4993ac9 100644 --- a/widget/src/container.rs +++ b/widget/src/container.rs @@ -572,7 +572,7 @@ pub fn visible_bounds(id: Id) -> Task> { } /// The appearance of a container. -#[derive(Debug, Clone, Copy, Default)] +#[derive(Debug, Clone, Copy, PartialEq, Default)] pub struct Style { /// The text [`Color`] of the container. pub text_color: Option, -- cgit