Enum nannou::draw::properties::spatial::orientation::Orientation[][src]

pub enum Orientation<S = Default> {
    Absolute(S),
    Relative(S, Option<Index>),
}

The orientation of a node along a single axis.

Variants

The orientation of the node along the axis in radians.

The orientation of the node described relatively to another node in radians.

Trait Implementations

impl<S: Copy> Copy for Orientation<S>
[src]

impl<S: Clone> Clone for Orientation<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Debug> Debug for Orientation<S>
[src]

Formats the value using the given formatter. Read more

impl<S: PartialEq> PartialEq for Orientation<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<S> Send for Orientation<S> where
    S: Send

impl<S> Sync for Orientation<S> where
    S: Sync