summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/alignment.rs4
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,