Enum nannou::draw::properties::spatial::position::Direction [−][src]
pub enum Direction { Forwards, Backwards, }
Directionally positioned, normally relative to some other node.
Variants
Forwards
Positioned forwards (positive Scalar) along some Axis.
Backwards
Positioned backwards (negative Scalar) along some Axis.
Trait Implementations
impl Copy for Direction
[src]
impl Copy for Direction
impl Clone for Direction
[src]
impl Clone for Direction
fn clone(&self) -> Direction
[src]
fn clone(&self) -> Direction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Direction
[src]
impl Debug for Direction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Direction
[src]
impl PartialEq for Direction
fn eq(&self, other: &Direction) -> bool
[src]
fn eq(&self, other: &Direction) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Direction
[src]
impl Eq for Direction