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

pub enum Align<S = DefaultScalar> {
    Start(Option<S>),
    Middle,
    End(Option<S>),
}

The orientation of Alignment along some Axis.

Variants

Align our Start with the Start of some other node along the Axis with the given margin.

Align our Middle with the Middle of some other node along the Axis.

Align our End with the End of some other node along the Axis with the given margin.

Trait Implementations

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.

impl<S: Eq> Eq for Align<S>
[src]

Auto Trait Implementations

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

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