SwiftstructVisualIntelligenceUI
SuggestedActionButton
struct VisualIntelligenceUI.SuggestedActionButton
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 14
- field
var __isMoreMenuPresented: SwiftUI.LazyState<Bool> - field
var __selectedDDActionModel: SwiftUI.LazyState<VisualIntelligenceUI.NewActionModel?> - field
var _performDefaultAction: SwiftUI.State<Bool> - field
var _sessionAnalytics: SwiftUI.Environment<VisualIntelligenceUI.SessionAnalytics?> - field
var _sheetProgressOpacity: SwiftUI.Binding<CoreGraphics.CGFloat> - field
let index: Int+0x20 - field
let isLeading: Bool+0x28 - field
let isTrailing: Bool+0x29 - field
let items: [VisualIntelligenceUI.OmnibarModel.Item]+0x0 - field
var onSelect: ((VisualIntelligenceUI.OmnibarModel.Item) -> ())?+0x30 - field
let renderMode: VisualIntelligenceUI.SuggestedActionButton.RenderMode+0x8 - field
let saliencyModel: VisualIntelligenceUI.NewSaliencyModel+0x10 - field
let sheetAssistant: VisualIntelligenceUI.SheetTrackingAssistant+0x18 - typealias
typealias 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>>>>
Header
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 } }