Enum limn_core::prelude::ItemAlignment
[−]
[src]
pub enum ItemAlignment { None, Fill, Center, Left, Right, Top, Bottom, }
Variants
None
No constraints are added, items can be aligned individually
Fill
Item width/height matched layout parent
Center
Items centered within layout parent width/height
Left
For a vertical layout, align items to the parent's left bound. Do not use in a horizontal layout
Right
For a vertical layout, align items to the parent's right bound. Do not use in a horizontal layout
Top
For a horizontal layout, align items to the parent's top bound. Do not use in a vertical layout
Bottom
For a horizontal layout, align items to the parent's bottom bound. Do not use in a vertical layout
Trait Implementations
impl Debug for ItemAlignment
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Copy for ItemAlignment
[src]
impl Clone for ItemAlignment
[src]
fn clone(&self) -> ItemAlignment
[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