SwiftstructMapsDesign

struct MapsDesign.ActionRow

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 7

  1. fieldvar _dynamicTypeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize>
  2. fieldvar _interfaceIdiom: SwiftUI.Environment<SwiftUI.InterfaceIdiom>
  3. fieldlet actions: [MapsDesign.ActionRowActionViewModel]
  4. fieldlet handler: @Sendable (MapsDesign.ActionRowActionViewModel) -> MapsDesign.ActionRow.ActionResponse?
  5. initinit(actions: [MapsDesign.ActionRowActionViewModel], handler: (MapsDesign.ActionRowActionViewModel) -> MapsDesign.ActionRow.ActionResponse?) -> MapsDesign.ActionRow
  6. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.Group<SwiftUI._ConditionalContent<SwiftUI.VStack<SwiftUI.ForEach<Swift.Array<MapsDesign.ActionRowActionViewModel>, Swift.String, MapsDesign.ActionRowButton>>, SwiftUI.HStack<SwiftUI.ForEach<Swift.Array<MapsDesign.ActionRowActionViewModel>, Swift.String, SwiftUI.ModifiedContent<MapsDesign.ActionRowButton, SwiftUI._FlexFrameLayout>>>>>, SwiftUI._PaddingLayout>
  7. varvar body: some SwiftUI.View { get }
struct ActionRow {
    enum ActionResponse {
        case tap(() -> ())
        case menu(@Sendable (_: @escaping (_: [__C.UIMenuElement]) -> ()) async -> [__C.UIMenuElement])
    }
    // synthesized from the backing storage `_interfaceIdiom`; the property's own accessors are stripped
    @SwiftUI.Environment var interfaceIdiom: SwiftUI.InterfaceIdiom {
        get
    }
    // synthesized from the backing storage `_dynamicTypeSize`; the property's own accessors are stripped
    @SwiftUI.Environment var dynamicTypeSize: SwiftUI.DynamicTypeSize {
        get
    }
    let actions: [MapsDesign.ActionRowActionViewModel]
    let handler: @Sendable (_: MapsDesign.ActionRowActionViewModel) -> MapsDesign.ActionRow.ActionResponse?

    init(actions: [MapsDesign.ActionRowActionViewModel], handler: @escaping (_: MapsDesign.ActionRowActionViewModel) -> MapsDesign.ActionRow.ActionResponse?)

    var body: some SwiftUI.View {
        get
    }
}