From 17c9c3eeb440044237132581068e89deeb7bcd8b Mon Sep 17 00:00:00 2001 From: ZeWaka Date: Sat, 23 Dec 2023 18:26:31 -0800 Subject: [PATCH] Derive for the dirs bitflags --- src/dirs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dirs.rs b/src/dirs.rs index 9146b9d..e8c241e 100644 --- a/src/dirs.rs +++ b/src/dirs.rs @@ -2,6 +2,7 @@ use bitflags::bitflags; bitflags! { /// The possible values for a direction in DM. + #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct Dirs: u8 { const NORTH = 1 << 0; const SOUTH = 1 << 1;