summaryrefslogtreecommitdiff
path: root/src/layout/background.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-08 23:16:02 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-08 23:16:02 +0200
commit02b586cc36fad58a622ecb439e1cf3a76a347207 (patch)
tree11ec37daa234e19e9eb30e0370795e77e4ef418b /src/layout/background.rs
parentfd0b89a1d8e4f811fcf3517d321a327a0cf72edf (diff)
Add lots of Eq impls
Diffstat (limited to 'src/layout/background.rs')
-rw-r--r--src/layout/background.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/background.rs b/src/layout/background.rs
index 0e93c06f..867783bf 100644
--- a/src/layout/background.rs
+++ b/src/layout/background.rs
@@ -1,7 +1,7 @@
use super::*;
/// A node that places a rectangular filled background behind its child.
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, Eq, PartialEq)]
#[cfg_attr(feature = "layout-cache", derive(Hash))]
pub struct BackgroundNode {
/// The kind of shape to use as a background.