pub enum Direction {
East,
West,
South,
North,
Up,
Down,
}
Expand description
Cardinal direction used in-game.
Variants§
Implementations§
Trait Implementations§
Source§impl PropertySerializable for Direction
impl PropertySerializable for Direction
fn prop_to_string(self) -> String
fn prop_from_string(value: &str) -> Option<Self>
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
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