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
Start(Option<S>)
Align our Start with the Start of some other node along the Axis with the given margin.
Middle
Align our Middle with the Middle of some other node along the Axis.
End(Option<S>)
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: Copy> Copy for Align<S>
impl<S: Clone> Clone for Align<S>
[src]
impl<S: Clone> Clone for Align<S>
fn clone(&self) -> Align<S>
[src]
fn clone(&self) -> Align<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 Align<S>
[src]
impl<S: Debug> Debug for Align<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 Align<S>
[src]
impl<S: PartialEq> PartialEq for Align<S>
fn eq(&self, other: &Align<S>) -> bool
[src]
fn eq(&self, other: &Align<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Align<S>) -> bool
[src]
fn ne(&self, other: &Align<S>) -> bool
This method tests for !=
.
impl<S: Eq> Eq for Align<S>
[src]
impl<S: Eq> Eq for Align<S>