Struct sixtyfps_corelib::model::Repeater[][src]

pub struct Repeater<C: RepeatedComponent> { /* fields omitted */ }
Expand description

This field is put in a component when using the for syntax It helps instantiating the components C

Implementations

Call this function to make sure that the model is updated. The init function is the function to create a component

Same as Self::ensuer_updated but for a ListView

Sets the data directly in the model

Set the model binding

Call the visitor for each component

Return the amount of item currently in the component

Return true if the Repeater is empty

Returns a vector containing all components

Set the position of all the element in the listview

Returns the offset of the end of the last element

Trait Implementations

Returns the “default value” for a type. 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 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.