SwiftstructSwiftUI

struct SwiftUI.ButtonActionModifier

Structure

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

Members 5

  1. fieldvar action: () -> ()
  2. fieldvar gesture: A
  3. typealiastypealias Body = Swift.Never
  4. typealiastypealias Combiner = SwiftUI.DefaultGestureCombiner
  5. typealiastypealias ContentGesture = A
struct ButtonActionModifier<A> where A: SwiftUI.Gesture {
    struct PlatformSelectionBehavior {
        // synthesized from the backing storage `_modifier`; the property's own accessors are stripped
        @AttributeGraph.Attribute var modifier: SwiftUI.ButtonActionModifier<A> {
            get
            set
        }
        // synthesized from the backing storage `_isEnabled`; the property's own accessors are stripped
        @AttributeGraph.Attribute var isEnabled: Swift.Bool {
            get
            set
        }
        // synthesized from the backing storage `_springLoadingBehavior`; the property's own accessors are stripped
        @AttributeGraph.Attribute var springLoadingBehavior: SwiftUI.SpringLoadingBehavior {
            get
            set
        }
    }
    struct PlatformAction {
        // synthesized from the backing storage `_modifier`; the property's own accessors are stripped
        @AttributeGraph.Attribute var modifier: SwiftUI.ButtonActionModifier<A> {
            get
            set
        }
    }
    var gesture: A
    var action: () -> ()
}