1 2 3 4 5 6 7 8 9 10
//! Describes a generic direction /// Defines the 4 2D directions. #[derive(Debug, Eq, PartialEq, Copy, Clone, PartialOrd, Hash)] pub enum Direction { Down, Left, Right, Up, }