Skip to content

Commit

Permalink
Derive for the dirs bitflags
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeWaka committed Dec 24, 2023
1 parent 0a02e0a commit 17c9c3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dirs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 17c9c3e

Please sign in to comment.