icon: add PartialEq and Hash for RgbaIcon

This commit is contained in:
Martin Fischer 2025-06-07 18:18:55 +02:00 committed by GitHub
parent 3218316420
commit f1e0f6c646
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@ impl fmt::Display for BadIcon {
impl Error for BadIcon {}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct RgbaIcon {
pub(crate) width: u32,
pub(crate) height: u32,