Enum nannou::draw::properties::spatial::position::Position [−][src]
pub enum Position<S = DefaultScalar> { Absolute(S), Relative(Relative<S>, Option<Index>), }
A Position along a single axis.
Variants
Absolute(S)
A specific position.
Relative(Relative<S>, Option<Index>)
A position relative to some other Node.
Trait Implementations
impl<S: Copy> Copy for Position<S>
[src]
impl<S: Copy> Copy for Position<S>
impl<S: Clone> Clone for Position<S>
[src]
impl<S: Clone> Clone for Position<S>
fn clone(&self) -> Position<S>
[src]
fn clone(&self) -> Position<S>
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<S: Debug> Debug for Position<S>
[src]
impl<S: Debug> Debug for Position<S>
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<S: PartialEq> PartialEq for Position<S>
[src]
impl<S: PartialEq> PartialEq for Position<S>