Add PartialEq derives for widget styles

This commit is contained in:
BradySimon 2024-10-12 19:55:41 -04:00 committed by Héctor Ramón Jiménez
parent c217500a5a
commit f912d26d64
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
13 changed files with 19 additions and 19 deletions

View file

@ -572,7 +572,7 @@ pub fn visible_bounds(id: Id) -> Task<Option<Rectangle>> {
}
/// 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<Color>,