summaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-11-16 10:37:30 +0100
committerLaurenz <laurmaedje@gmail.com>2019-11-16 10:37:30 +0100
commit261ef9e33a8548d4b7aa53e69e71866648982ae8 (patch)
tree8c98eeb4a4bb2123b45baf1dd4de706a21d619e9 /src/layout/mod.rs
parent0917d89bb899380ba897382b4945c8426f25c66d (diff)
Generalize tree layouter 🌲
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index f0160f31..2bafd792 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -192,7 +192,7 @@ impl LayoutSpace {
}
/// The axes along which the content is laid out.
-#[derive(Debug, Copy, Clone)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub struct LayoutAxes {
pub primary: AlignedAxis,
pub secondary: AlignedAxis,