[][src]Struct sixtyfps_compilerlib::object_tree::RepeatedElementInfo

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>,
}

If the parent element is a repeated element, this has information about the models

Fields

model: Expressionmodel_data_id: Stringindex_id: Stringis_conditional_element: bool

A conditional element is just a for whose model is a bolean expression

When this is true, the model is of type bolean instead of Model

is_listview: Option<ListViewInfo>

When the for is the delegate of a ListView

Trait Implementations

impl Clone for RepeatedElementInfo[src]

impl Debug for RepeatedElementInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.