mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 23:00:05 -04:00
icon: add PartialEq and Hash for RgbaIcon
This commit is contained in:
@@ -60,7 +60,7 @@ impl fmt::Display for BadIcon {
|
|||||||
|
|
||||||
impl Error for BadIcon {}
|
impl Error for BadIcon {}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
pub struct RgbaIcon {
|
pub struct RgbaIcon {
|
||||||
pub(crate) width: u32,
|
pub(crate) width: u32,
|
||||||
pub(crate) height: u32,
|
pub(crate) height: u32,
|
||||||
|
|||||||
Reference in New Issue
Block a user