diff --git a/crates/egui/src/style.rs b/crates/egui/src/style.rs index 9364ac6c732..01190360bf3 100644 --- a/crates/egui/src/style.rs +++ b/crates/egui/src/style.rs @@ -853,7 +853,7 @@ impl Default for TextCursorStyle { } /// Defines the style and behavior of a `TextEdit`. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] #[cfg_attr(feature = "serde", serde(default))] pub struct TextEditStyle {