summaryrefslogtreecommitdiff
path: root/src/layout/image.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-09-10 15:09:56 +0200
committerLaurenz <laurmaedje@gmail.com>2021-09-10 15:10:35 +0200
commit18190f377a556ae5d5bb855044a95ecea071432f (patch)
tree00dc34d14d8daa0911dcf152a51cdf3e153aebde /src/layout/image.rs
parentb0b4607725d55cc99c13986e14294e0da3e56e08 (diff)
Reimplement `Debug` for layout nodes
Diffstat (limited to 'src/layout/image.rs')
-rw-r--r--src/layout/image.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/image.rs b/src/layout/image.rs
index 0220da3e..94f57167 100644
--- a/src/layout/image.rs
+++ b/src/layout/image.rs
@@ -4,6 +4,7 @@ use crate::image::ImageId;
use ::image::GenericImageView;
/// An image node.
+#[derive(Debug)]
#[cfg_attr(feature = "layout-cache", derive(Hash))]
pub struct ImageNode {
/// The id of the image file.