pub struct GridLayoutItem {
    pub col: u32,
    pub row: u32,
    pub col_span: u32,
    pub row_span: u32,
    /* private fields */
}
Expand description

A control item in a GridLayout

Fields

col: u32

The column position of the control in the layout

row: u32

The row position of the control in the layout

col_span: u32

The number column this item should span. Should be 1 for single column item.

row_span: u32

The number row this item should span. Should be 1 for single row item.

Implementations

Initialize a new grid layout item

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.