summaryrefslogtreecommitdiff
path: root/src/layout/fixed.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/fixed.rs
parentb0b4607725d55cc99c13986e14294e0da3e56e08 (diff)
Reimplement `Debug` for layout nodes
Diffstat (limited to 'src/layout/fixed.rs')
-rw-r--r--src/layout/fixed.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/fixed.rs b/src/layout/fixed.rs
index 5b103f9a..b7c58523 100644
--- a/src/layout/fixed.rs
+++ b/src/layout/fixed.rs
@@ -3,6 +3,7 @@ use decorum::N64;
use super::*;
/// A node that can fix its child's width and height.
+#[derive(Debug)]
#[cfg_attr(feature = "layout-cache", derive(Hash))]
pub struct FixedNode {
/// The fixed width, if any.