Module pax_runtime::repeat
source · Structs§
- A special “control-flow” primitive associated with the
forstatement. Repeat allows for nodes to be rendered dynamically per data specified insource_expression. That is: for asource_expressionof lengthn,Repeatwill render its templatentimes, each with an embedded component context (RepeatItem) with an indexiand a pointer to that relevant datumsource_expression[i] - Contains modal vec and range variants, describing whether the Repeat source is encoded as a Vec
(where T is a PaxValueproperties type) or as a Range