From 02b586cc36fad58a622ecb439e1cf3a76a347207 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 8 Jul 2021 23:16:02 +0200 Subject: Add lots of Eq impls --- src/layout/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/image.rs') diff --git a/src/layout/image.rs b/src/layout/image.rs index 20a521ff..9ea9db55 100644 --- a/src/layout/image.rs +++ b/src/layout/image.rs @@ -4,7 +4,7 @@ use crate::image::ImageId; use ::image::GenericImageView; /// An image node. -#[derive(Debug, Copy, Clone, PartialEq)] +#[derive(Debug, Copy, Clone, Eq, PartialEq)] #[cfg_attr(feature = "layout-cache", derive(Hash))] pub struct ImageNode { /// The id of the image file. -- cgit v1.2.3