diff options
Diffstat (limited to 'src/layout/stack.rs')
| -rw-r--r-- | src/layout/stack.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/stack.rs b/src/layout/stack.rs index d8e30b2a..516a2284 100644 --- a/src/layout/stack.rs +++ b/src/layout/stack.rs @@ -3,7 +3,7 @@ use decorum::N64; use super::*; /// A node that stacks its children. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] #[cfg_attr(feature = "layout-cache", derive(Hash))] pub struct StackNode { /// The `main` and `cross` directions of this stack. @@ -20,7 +20,7 @@ pub struct StackNode { } /// A child of a stack node. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] #[cfg_attr(feature = "layout-cache", derive(Hash))] pub enum StackChild { /// Spacing between other nodes. |
