From f86d96be0fd82b479967fda3f418bf47c80e5705 Mon Sep 17 00:00:00 2001 From: Imbris Date: Mon, 6 Dec 2021 14:27:24 -0500 Subject: Include alignment in the container layout hash --- core/src/alignment.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/src/alignment.rs b/core/src/alignment.rs index 8c561d9d..73f41d3f 100644 --- a/core/src/alignment.rs +++ b/core/src/alignment.rs @@ -37,7 +37,7 @@ impl From for Alignment { } /// The horizontal [`Alignment`] of some resource. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum Horizontal { /// Align left Left, @@ -50,7 +50,7 @@ pub enum Horizontal { } /// The vertical [`Alignment`] of some resource. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum Vertical { /// Align top Top, -- cgit