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
sourceimpl Clone for GridLayout
impl Clone for GridLayout
sourcefn clone(&self) -> GridLayout
fn clone(&self) -> GridLayout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GridLayout
impl Debug for GridLayout
sourceimpl From<GridLayout> for Layout
impl From<GridLayout> for Layout
sourcefn from(original: GridLayout) -> Layout
fn from(original: GridLayout) -> Layout
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more