logo
pub struct SubComponent {
Show 13 fields pub name: String, pub properties: Vec<Property>, pub items: Vec<Item>, pub repeated: Vec<RepeatedElement>, pub popup_windows: Vec<ItemTree>, pub sub_components: Vec<SubComponentInstance>, pub property_init: Vec<(PropertyReference, BindingExpression)>, pub animations: HashMap<PropertyReference, Expression>, pub two_way_bindings: Vec<(PropertyReference, PropertyReference)>, pub const_properties: Vec<PropertyReference>, pub init_code: Vec<Expression>, pub layout_info_h: Expression, pub layout_info_v: Expression,
}

Fields

name: Stringproperties: Vec<Property>items: Vec<Item>repeated: Vec<RepeatedElement>popup_windows: Vec<ItemTree>sub_components: Vec<SubComponentInstance>property_init: Vec<(PropertyReference, BindingExpression)>

The initial value or binding for properties. This is ordered in the order they must be set.

animations: HashMap<PropertyReference, Expression>

The animation for properties which are animated

two_way_bindings: Vec<(PropertyReference, PropertyReference)>const_properties: Vec<PropertyReference>init_code: Vec<Expression>layout_info_h: Expressionlayout_info_v: Expression

Implementations

total count of repeater, including in sub components

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.