Enum rust_warrior::actions::Direction
source · [−]pub enum Direction {
Forward,
Backward,
}
Expand description
Certain Action
s are done one tile away, and must be done either
while facing forwards or backwards.
Variants
Forward
Backward
Trait Implementations
impl Copy for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more