#[repr(C)]pub struct GridLayoutInputData {
pub new_row: bool,
pub col: f32,
pub row: f32,
pub colspan: f32,
pub rowspan: f32,
}Expand description
The input data for a cell of a GridLayout, before row/col determination and before H/V split Used as input to organize_grid_layout()
Fields§
§new_row: boolwhether this cell is the first one in a Row element
col: f32col and row number. Only ROW_COL_AUTO and the u16 range are valid, values outside of that will be clamped with a warning at runtime
row: f32§colspan: f32colspan and rowspan Only the u16 range is valid, values outside of that will be clamped with a warning at runtime
rowspan: f32Trait Implementations§
Source§impl Clone for GridLayoutInputData
impl Clone for GridLayoutInputData
Source§fn clone(&self) -> GridLayoutInputData
fn clone(&self) -> GridLayoutInputData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GridLayoutInputData
impl Debug for GridLayoutInputData
Source§impl Default for GridLayoutInputData
impl Default for GridLayoutInputData
Source§fn default() -> GridLayoutInputData
fn default() -> GridLayoutInputData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GridLayoutInputData
impl RefUnwindSafe for GridLayoutInputData
impl Send for GridLayoutInputData
impl Sync for GridLayoutInputData
impl Unpin for GridLayoutInputData
impl UnwindSafe for GridLayoutInputData
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