pub struct GridSpec {
pub rows: Vec<Track>,
pub cols: Vec<Track>,
pub row_spacing: f32,
pub col_spacing: f32,
}Expand description
A grid’s rows, columns and the space between them. No rows (columns)
= one * row (column), like WPF.
Fields§
§rows: Vec<Track>§cols: Vec<Track>§row_spacing: f32Space between rows (WinUI’s RowSpacing).
col_spacing: f32Space between columns (WinUI’s ColumnSpacing).
Trait Implementations§
impl StructuralPartialEq for GridSpec
Auto Trait Implementations§
impl Freeze for GridSpec
impl RefUnwindSafe for GridSpec
impl Send for GridSpec
impl Sync for GridSpec
impl Unpin for GridSpec
impl UnsafeUnpin for GridSpec
impl UnwindSafe for GridSpec
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