[][src]Struct native_windows_gui::GridLayoutItem

pub struct GridLayoutItem {
    pub col: u32,
    pub row: u32,
    pub col_span: u32,
    pub row_span: u32,
    // some fields omitted
}

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

impl GridLayoutItem[src]

pub fn new<W: Into<ControlHandle>>(
    c: W,
    col: u32,
    row: u32,
    col_span: u32,
    row_span: u32
) -> GridLayoutItem
[src]

Initialize a new grid layout item

Trait Implementations

impl Debug for GridLayoutItem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.