summaryrefslogtreecommitdiff
path: root/src/layout/stack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/stack.rs')
-rw-r--r--src/layout/stack.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/stack.rs b/src/layout/stack.rs
index 211c8a7e..4afe9c64 100644
--- a/src/layout/stack.rs
+++ b/src/layout/stack.rs
@@ -1,6 +1,7 @@
use super::*;
/// A node that stacks its children.
+#[derive(Debug)]
#[cfg_attr(feature = "layout-cache", derive(Hash))]
pub struct StackNode {
/// The inline and block directions of this stack.
@@ -13,6 +14,7 @@ pub struct StackNode {
}
/// A child of a stack node.
+#[derive(Debug)]
#[cfg_attr(feature = "layout-cache", derive(Hash))]
pub enum StackChild {
/// Spacing between other nodes.