Struct limn_layout::Layout [] [src]

pub struct Layout {
    pub vars: LayoutVars,
    pub name: Option<String>,
    pub id: LayoutId,
    pub hidden: bool,
    // some fields omitted
}

Represents a single item in the overall layout hierarchy with a bounding rectangle and an id.

Modifying any properties of this layout only stores those changes here, they won't affect the solver until this struct is passed to the solver.

Fields

Methods

impl Layout
[src]

[src]

Creates a new Layout.

[src]

[src]

Clears the container of the current Layout.

[src]

Replaces the container of the current layout. The container is what determines what constraints will be added between this layout and it's children, as they are added, if any.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> LayoutRef for &'a mut Layout
[src]

impl LayoutRef for Layout
[src]