SwiftstructMapsDesign

struct MapsDesign.ButtonView

Structure

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

inherits{}

Members 4

  1. fieldvar _row: SwiftUI.Bindable<MapsDesign.PreferencesListRowViewModel<A>>
  2. fieldlet onChange: ((MapsDesign.PreferenceChangeEvent<A>) -> ())?
  3. fieldlet sectionID: A
  4. typealiastypealias Body = Swift.Optional<SwiftUI.ModifiedContent<SwiftUI.Button<SwiftUI.Text>, SwiftUI.AccessibilityAttachmentModifier>>
struct ButtonView<A> where A: Swift.Hashable {
    // synthesized from the backing storage `_row`; the property's own accessors are stripped
    @SwiftUI.Bindable var row: MapsDesign.PreferencesListRowViewModel<A> {
        get
        set
    }
    let sectionID: A
    let onChange: ((_: MapsDesign.PreferenceChangeEvent<A>) -> ())?
}