gpui: Implement PartialEq and Eq for WindowAppearance (#25219)

Release Notes:

- N/A
This commit is contained in:
someone13574 2025-02-19 22:25:34 -05:00 committed by GitHub
parent 0fdad0c0d6
commit e3836712d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1068,7 +1068,7 @@ pub enum WindowKind {
/// ///
/// On macOS, this corresponds to named [`NSAppearance`](https://developer.apple.com/documentation/appkit/nsappearance) /// On macOS, this corresponds to named [`NSAppearance`](https://developer.apple.com/documentation/appkit/nsappearance)
/// values. /// values.
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum WindowAppearance { pub enum WindowAppearance {
/// A light appearance. /// A light appearance.
/// ///