ArrayResultBuilder

@resultBuilder
public struct ArrayResultBuilder<Element>

常用ArrayResultBuilder

SwiftUIX

  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildBlock() -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildBlock(_ element: Element) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildBlock(_ elements: Element...) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildBlock(_ arrays: [Element]...) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildEither(first component: Element) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildEither(first component: [Element]) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildEither(second component: [Element]) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildExpression(_ element: Element) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildExpression(_ element: Element?) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildExpression(_ elements: [Element]) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildOptional(_ component: [Element]?) -> [Element]
  • Undocumented

    Declaration

    Swift

    @_optimize(speed)
    public static func buildArray(_ contents: [[Element]]) -> [Element]