diff --git a/crates/egui/src/data/input.rs b/crates/egui/src/data/input.rs index e8ab7383e2f..979eee49613 100644 --- a/crates/egui/src/data/input.rs +++ b/crates/egui/src/data/input.rs @@ -140,7 +140,7 @@ impl RawInput { } } -#[derive(Clone, Debug, Default, PartialEq)] +#[derive(Clone, Debug, Default, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub struct ViewportInfo { pub id_pair: ViewportIdPair,