Struct i_slint_compiler::layout::GridLayout
source · pub struct GridLayout {
pub elems: Vec<GridLayoutElement>,
pub geometry: LayoutGeometry,
pub dialog_button_roles: Option<Vec<String>>,
}
Expand description
Internal representation of a grid layout
Fields§
§elems: Vec<GridLayoutElement>
All the elements will be layout within that element.
geometry: LayoutGeometry
When this GridLayout is actually the layout of a Dialog, then the cells start with all the buttons, and this variable contains their roles. The string is actually one of the values from the i_slint_core::layout::DialogButtonRole
Trait Implementations§
source§impl Clone for GridLayout
impl Clone for GridLayout
source§fn clone(&self) -> GridLayout
fn clone(&self) -> GridLayout
Returns a copy 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 GridLayout
impl Debug for GridLayout
source§impl From<GridLayout> for Layout
impl From<GridLayout> for Layout
source§fn from(original: GridLayout) -> Layout
fn from(original: GridLayout) -> Layout
Converts to this type from the input type.