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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MovementDirection
Source§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
impl Eq for MovementDirection
Source§impl FromStr for MovementDirection
impl FromStr for MovementDirection
Source§impl PartialEq for MovementDirection
impl PartialEq for MovementDirection
Source§fn eq(&self, other: &MovementDirection) -> bool
fn eq(&self, other: &MovementDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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