SwiftstructMapsDesign
struct MapsDesign.ActionRow
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 7
- field
var _dynamicTypeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize> - field
var _interfaceIdiom: SwiftUI.Environment<SwiftUI.InterfaceIdiom> - field
let actions: [MapsDesign.ActionRowActionViewModel] - field
let handler: @Sendable (MapsDesign.ActionRowActionViewModel) -> MapsDesign.ActionRow.ActionResponse? - init
init(actions: [MapsDesign.ActionRowActionViewModel], handler: (MapsDesign.ActionRowActionViewModel) -> MapsDesign.ActionRow.ActionResponse?) -> MapsDesign.ActionRow - typealias
typealias 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> - var
var body: some SwiftUI.View { get }
Header
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 } }