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 copy 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 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 PartialEq for MovementDirection
impl PartialEq for MovementDirection
source§fn eq(&self, other: &MovementDirection) -> bool
fn eq(&self, other: &MovementDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MovementDirection
impl Eq for MovementDirection
impl StructuralEq for MovementDirection
impl StructuralPartialEq for MovementDirection
Auto Trait Implementations§
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