Function sixtyfps_compilerlib::generator::build_array_helper[][src]

pub fn build_array_helper(
    component: &Component,
    visit_item: impl FnMut(&ElementRc, u32, u32)
)
Expand description

Visit each item in order in which they should appear in the children tree array. The parameter of the visitor are

  1. the item
  2. the first_children_offset,
  3. the parent index