summaryrefslogtreecommitdiff
path: root/src/layout/image.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/image.rs')
-rw-r--r--src/layout/image.rs2
1 files changed, 1 insertions, 1 deletions
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.