Enum mon_artist::directions::Turn
[−]
[src]
pub enum Turn { CW, CCW, }
A turn chooses between clockwise (CW
) and counter-clockwise (CCW
).
Variants
CW
Clockwise
CCW
Counter-clockwise
Methods
impl Turn
[src]
fn reverse(&self) -> Self
Trait Implementations
impl PartialEq for Turn
[src]
fn eq(&self, __arg_0: &Turn) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Turn
[src]
impl Copy for Turn
[src]
impl Clone for Turn
[src]
fn clone(&self) -> Turn
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more