pub enum Facing {
Down,
Left,
Right,
Up,
}Expand description
Which way a unit is turned. A look only: never a rule.
Variants§
Down
Towards the camera: every unit that isn’t walking.
Left
To the left.
Right
To the right.
Up
Away from the camera.
Implementations§
Trait Implementations§
impl Copy for Facing
impl Eq for Facing
impl StructuralPartialEq for Facing
Auto Trait Implementations§
impl Freeze for Facing
impl RefUnwindSafe for Facing
impl Send for Facing
impl Sync for Facing
impl Unpin for Facing
impl UnsafeUnpin for Facing
impl UnwindSafe for Facing
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