Enum limn_layout::constraint::WidgetConstraint [] [src]

pub enum WidgetConstraint {
    Width(f32),
    Height(f32),
    MinWidth(f32),
    MinHeight(f32),
    Size(Size),
    MinSize(Size),
    AspectRatio(f32),
    Shrink,
    ShrinkHorizontal,
    ShrinkVertical,
    TopLeft(Point),
    Center(LayoutVars),
    CenterHorizontal(VariableVariable),
    CenterVertical(VariableVariable),
}

Variants

Methods

impl WidgetConstraint
[src]

[src]

Trait Implementations

impl Debug for WidgetConstraint
[src]

[src]

Formats the value using the given formatter.

impl Copy for WidgetConstraint
[src]

impl Clone for WidgetConstraint
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more