1 2 3 4 5 6 7 8 9 10 11 12
/// A four cardinal direction. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Direction { /// ↑ Up, /// ↓ Down, /// ← Left, /// → Right, }
1 2 3 4 5 6 7 8 9 10 11 12
/// A four cardinal direction. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Direction { /// ↑ Up, /// ↓ Down, /// ← Left, /// → Right, }