[−][src]Struct native_windows_gui::GridLayoutItem
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]
c: W,
col: u32,
row: u32,
col_span: u32,
row_span: u32
) -> GridLayoutItem
Initialize a new grid layout item
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GridLayoutItem
[src]
impl !Send for GridLayoutItem
[src]
impl !Sync for GridLayoutItem
[src]
impl Unpin for GridLayoutItem
[src]
impl UnwindSafe for GridLayoutItem
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,