Enum nannou::draw::properties::spatial::position::Position[][src]

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

A Position along a single axis.

Variants

A specific position.

A position relative to some other Node.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<S: PartialEq> PartialEq for Position<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 Position<S> where
    S: Send

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