SwiftstructVisualIntelligenceUI

struct VisualIntelligenceUI.SuggestedActionButton

Structure

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

inherits{}

Members 14

  1. fieldvar __isMoreMenuPresented: SwiftUI.LazyState<Bool>
  2. fieldvar __selectedDDActionModel: SwiftUI.LazyState<VisualIntelligenceUI.NewActionModel?>
  3. fieldvar _performDefaultAction: SwiftUI.State<Bool>
  4. fieldvar _sessionAnalytics: SwiftUI.Environment<VisualIntelligenceUI.SessionAnalytics?>
  5. fieldvar _sheetProgressOpacity: SwiftUI.Binding<CoreGraphics.CGFloat>
  6. fieldlet index: Int+0x20
  7. fieldlet isLeading: Bool+0x28
  8. fieldlet isTrailing: Bool+0x29
  9. fieldlet items: [VisualIntelligenceUI.OmnibarModel.Item]+0x0
  10. fieldvar onSelect: ((VisualIntelligenceUI.OmnibarModel.Item) -> ())?+0x30
  11. fieldlet renderMode: VisualIntelligenceUI.SuggestedActionButton.RenderMode+0x8
  12. fieldlet saliencyModel: VisualIntelligenceUI.NewSaliencyModel+0x10
  13. fieldlet sheetAssistant: VisualIntelligenceUI.SheetTrackingAssistant+0x18
  14. typealiastypealias Body = SwiftUI.ZStack<SwiftUI._ConditionalContent<SwiftUI._ConditionalContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._ConditionalContent<SwiftUI.Button<SwiftUI.Label<SwiftUI.Text, SwiftUI.Image>>, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<VisualIntelligenceUI.MarqueeSuggestedActionButton<SwiftUI._ConditionalContent<VisualIntelligenceUI.AppIconView, SwiftUI.Image>, SwiftUI.Text>, SwiftUI.ButtonStyleContainerModifier<VisualIntelligenceUI.SuggestedActionButtonStyle>>, SwiftUI.AccessibilityAttachmentModifier>>, SwiftUI.AccessibilityAttachmentModifier>, SwiftUI._BackgroundModifier<VisualIntelligenceUI.DataDetectorView>>, VisualIntelligenceUI.SessionAnalyticsSuggestedActionObserverModifier>, SwiftUI._ValueActionModifier2<Swift.Bool>>, SwiftUI._AppearanceActionModifier>, SwiftUI._ValueActionModifier2<Swift.Bool>>, SwiftUI._AppearanceActionModifier>, SwiftUI._ValueActionModifier2<CoreGraphics.CGFloat>>, SwiftUI._AppearanceActionModifier>, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Menu<SwiftUI.ModifiedContent<SwiftUI.Button<SwiftUI.Text>, SwiftUI.ButtonStyleContainerModifier<VisualIntelligenceUI.SuggestedActionButtonStyle>>, SwiftUI.ForEach<Swift.Array<VisualIntelligenceUI.OmnibarModel.Item>, Swift.String, SwiftUI._ConditionalContent<SwiftUI.Button<SwiftUI.Label<SwiftUI.Text, SwiftUI.Image>>, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<VisualIntelligenceUI.MarqueeSuggestedActionButton<SwiftUI._ConditionalContent<VisualIntelligenceUI.AppIconView, SwiftUI.Image>, SwiftUI.Text>, SwiftUI.ButtonStyleContainerModifier<VisualIntelligenceUI.SuggestedActionButtonStyle>>, SwiftUI.AccessibilityAttachmentModifier>>>>, SwiftUI.PrimitiveButtonStyleContainerModifier<SwiftUI.PlainButtonStyle>>, SwiftUI.AccessibilityAttachmentModifier>, SwiftUI._BackgroundModifier<VisualIntelligenceUI.DataDetectorView>>>, SwiftUI.ModifiedContent<accessor function at 5305953408, SwiftUI._BackgroundModifier<VisualIntelligenceUI.DataDetectorView>>>>
struct SuggestedActionButton {
    enum RenderMode {
        case single
        case menu
        case macScreenCapture
        case macScreenCaptureMenu
    }
    let items: [VisualIntelligenceUI.OmnibarModel.Item]
    let renderMode: VisualIntelligenceUI.SuggestedActionButton.RenderMode
    let saliencyModel: VisualIntelligenceUI.NewSaliencyModel
    let sheetAssistant: VisualIntelligenceUI.SheetTrackingAssistant
    let index: Swift.Int
    let isLeading: Swift.Bool
    let isTrailing: Swift.Bool
    var onSelect: ((_: VisualIntelligenceUI.OmnibarModel.Item) -> ())?
    // synthesized from the backing storage `_sessionAnalytics`; the property's own accessors are stripped
    @SwiftUI.Environment var sessionAnalytics: VisualIntelligenceUI.SessionAnalytics? {
        get
    }
    // synthesized from the backing storage `__selectedDDActionModel`; the property's own accessors are stripped
    @SwiftUI.LazyState var _selectedDDActionModel: VisualIntelligenceUI.NewActionModel? {
        get
        set
    }
    // synthesized from the backing storage `_performDefaultAction`; the property's own accessors are stripped
    @SwiftUI.State var performDefaultAction: Swift.Bool {
        get
        set
    }
    // synthesized from the backing storage `__isMoreMenuPresented`; the property's own accessors are stripped
    @SwiftUI.LazyState var _isMoreMenuPresented: Swift.Bool {
        get
        set
    }
    // synthesized from the backing storage `_sheetProgressOpacity`; the property's own accessors are stripped
    @SwiftUI.Binding var sheetProgressOpacity: CoreGraphics.CGFloat {
        get
        set
    }
}