diff options
Diffstat (limited to 'src/layout/fixed.rs')
| -rw-r--r-- | src/layout/fixed.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/fixed.rs b/src/layout/fixed.rs index 73235168..c1d1ac5e 100644 --- a/src/layout/fixed.rs +++ b/src/layout/fixed.rs @@ -1,7 +1,8 @@ use super::*; /// A node that can fix its child's width and height. -#[derive(Debug, Clone, PartialEq, Hash)] +#[derive(Debug, Clone, PartialEq)] +#[cfg_attr(feature = "layout-cache", derive(Hash))] pub struct FixedNode { /// The fixed width, if any. pub width: Option<Linear>, |
