Struct sixtyfps_compilerlib::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 GridLyout 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 sixtyfps_corelib::layout::DialogButtonRole
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GridLayout
impl !Send for GridLayout
impl !Sync for GridLayout
impl Unpin for GridLayout
impl !UnwindSafe for GridLayout
Blanket Implementations
Mutably borrows from an owned value. Read more