Include alignment in the container layout hash

This commit is contained in:
Imbris 2021-12-06 14:27:24 -05:00
parent 26d053ab38
commit f86d96be0f
2 changed files with 4 additions and 2 deletions

View file

@ -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,