pub struct Cell {
pub row: u16,
pub col: u16,
pub row_span: u16,
pub col_span: u16,
}Expand description
The grid cell(s) a widget occupies — WPF’s Grid.Row, Grid.Column,
Grid.RowSpan, Grid.ColumnSpan. Only a grid reads it; out-of-range
values are clamped to the grid (like WPF).
Fields§
§row: u16§col: u16§row_span: u16Rows spanned, at least 1.
col_span: u16Columns spanned, at least 1.
Trait Implementations§
impl Copy for Cell
impl Eq for Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more