LayoutPriorityGroup.swift 483 B

12345678910
  1. /// The subset of a stack's children with a particular layout priority.
  2. struct LayoutPriorityGroup {
  3. /// The stack's children, referenced by index, using the index of the
  4. /// child based on the visual order of the stack's children (rather
  5. /// than the flexibility-based layout order). The children are in
  6. /// order of increasing flexibility.
  7. var children: ArraySlice<Int>
  8. /// The layout priority of all children within this subset.
  9. var priority: Double
  10. }