pub enum MoveDirection {
Forward,
Backward,
Upward,
Downward,
Left,
Right,
}Variants§
Trait Implementations§
Source§impl AsRef<str> for MoveDirection
impl AsRef<str> for MoveDirection
Source§impl Clone for MoveDirection
impl Clone for MoveDirection
Source§fn clone(&self) -> MoveDirection
fn clone(&self) -> MoveDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MoveDirection
impl Debug for MoveDirection
Source§impl PartialEq for MoveDirection
impl PartialEq for MoveDirection
Source§fn eq(&self, other: &MoveDirection) -> bool
fn eq(&self, other: &MoveDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MoveDirection
impl StructuralPartialEq for MoveDirection
Auto Trait Implementations§
impl Freeze for MoveDirection
impl RefUnwindSafe for MoveDirection
impl Send for MoveDirection
impl Sync for MoveDirection
impl Unpin for MoveDirection
impl UnsafeUnpin for MoveDirection
impl UnwindSafe for MoveDirection
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