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: Clone> Clone for Align<S>
[src]
fn clone(&self) -> Align<S>
[src]
Returns a copy of the value. Read more
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<S: PartialEq> PartialEq for Align<S>
[src]
fn eq(&self, __arg_0: &Align<S>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Align<S>) -> bool
[src]
This method tests for !=
.