pub enum MovementDirection {
Normal = 0,
Opposite = 1,
}
Expand description
Valid parameter values to the function SIMD
.
Variants§
Normal = 0
The direction of implicit movement is the same as that of the character progression.
Opposite = 1
The direction of implicit movement is opposite to that of the character progression.
Trait Implementations§
Source§impl Clone for MovementDirection
impl Clone for MovementDirection
Source§fn clone(&self) -> MovementDirection
fn clone(&self) -> MovementDirection
Returns a duplicate of the value. Read more
1.0.0 · 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 MovementDirection
impl Debug for MovementDirection
Source§impl Default for MovementDirection
impl Default for MovementDirection
Source§fn default() -> MovementDirection
fn default() -> MovementDirection
Returns the “default value” for a type. Read more
Source§impl FromStr for MovementDirection
impl FromStr for MovementDirection
Source§impl PartialEq for MovementDirection
impl PartialEq for MovementDirection
impl Copy for MovementDirection
impl Eq for MovementDirection
impl StructuralPartialEq for MovementDirection
Auto Trait Implementations§
impl Freeze for MovementDirection
impl RefUnwindSafe for MovementDirection
impl Send for MovementDirection
impl Sync for MovementDirection
impl Unpin for MovementDirection
impl UnwindSafe for MovementDirection
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