Enum sark_grids::directions::Dir4
source · pub enum Dir4 {
Up,
Down,
Left,
Right,
}
Expand description
Four orthogonal directions on a 2d grid.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Dir4
impl PartialEq for Dir4
impl Copy for Dir4
impl Eq for Dir4
impl StructuralPartialEq for Dir4
Auto Trait Implementations§
impl Freeze for Dir4
impl RefUnwindSafe for Dir4
impl Send for Dir4
impl Sync for Dir4
impl Unpin for Dir4
impl UnwindSafe for Dir4
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more