Enum limn_layout::linear_layout::ItemAlignment [] [src]

pub enum ItemAlignment {
    None,
    Fill,
    Center,
    Left,
    Right,
    Top,
    Bottom,
}

Variants

No constraints are added, items can be aligned individually

Item width/height matched layout parent

Items centered within layout parent width/height

For a vertical layout, align items to the parent's left bound. Do not use in a horizontal layout

For a vertical layout, align items to the parent's right bound. Do not use in a horizontal layout

For a horizontal layout, align items to the parent's top bound. Do not use in a vertical layout

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]

[src]

Formats the value using the given formatter. Read more

impl Copy for ItemAlignment
[src]

impl Clone for ItemAlignment
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more