pub enum MovementDirection {
Normal,
Opposite,
}
Expand description
Valid parameter values to the function SIMD
.
Variants§
Normal
The direction of implicit movement is the same as that of the character progression.
Opposite
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<MovementDirection> for MovementDirection
impl PartialEq<MovementDirection> 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 ==
.