diff options
author | 2021-12-06 14:27:24 -0500 | |
---|---|---|
committer | 2021-12-06 14:27:24 -0500 | |
commit | f86d96be0fd82b479967fda3f418bf47c80e5705 (patch) | |
tree | 118fe5b79be0c4942bd1eb127377045d32320674 /core | |
parent | 26d053ab3887b73f854a1174864d0fec221c5c9b (diff) | |
download | iced-f86d96be0fd82b479967fda3f418bf47c80e5705.tar.gz iced-f86d96be0fd82b479967fda3f418bf47c80e5705.tar.bz2 iced-f86d96be0fd82b479967fda3f418bf47c80e5705.zip |
Include alignment in the container layout hash
Diffstat (limited to 'core')
-rw-r--r-- | core/src/alignment.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<Vertical> 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, |