Struct i_slint_compiler::object_tree::RepeatedElementInfo
source · pub struct RepeatedElementInfo {
pub model: Expression,
pub model_data_id: String,
pub index_id: String,
pub is_conditional_element: bool,
pub is_listview: Option<ListViewInfo>,
}
Expand description
If the parent element is a repeated element, this has information about the models
Fields§
§model: Expression
§model_data_id: String
§index_id: String
§is_conditional_element: bool
A conditional element is just a for whose model is a boolean expression
When this is true, the model is of type boolean instead of Model
is_listview: Option<ListViewInfo>
When the for is the delegate of a ListView
Trait Implementations§
source§impl Clone for RepeatedElementInfo
impl Clone for RepeatedElementInfo
source§fn clone(&self) -> RepeatedElementInfo
fn clone(&self) -> RepeatedElementInfo
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 more