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

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,