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
Set the model binding
pub fn visit(
&self,
order: TraversalOrder,
visitor: ItemVisitorRefMut<'_>
) -> VisitChildrenResult
pub fn visit(
&self,
order: TraversalOrder,
visitor: ItemVisitorRefMut<'_>
) -> VisitChildrenResult
Call the visitor for each component
Returns a vector containing all components