diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-09-10 15:09:56 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-09-10 15:10:35 +0200 |
| commit | 18190f377a556ae5d5bb855044a95ecea071432f (patch) | |
| tree | 00dc34d14d8daa0911dcf152a51cdf3e153aebde /src/layout/stack.rs | |
| parent | b0b4607725d55cc99c13986e14294e0da3e56e08 (diff) | |
Reimplement `Debug` for layout nodes
Diffstat (limited to 'src/layout/stack.rs')
| -rw-r--r-- | src/layout/stack.rs | 2 |
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. |
