From 18190f377a556ae5d5bb855044a95ecea071432f Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 10 Sep 2021 15:09:56 +0200 Subject: Reimplement `Debug` for layout nodes --- src/layout/stack.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/layout/stack.rs') 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. -- cgit v1.2.3