SwiftstructSearchUI

struct SearchUI.SearchUIAppearance

Structure

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

inherits{}

Members 5

  1. fieldvar _backgroundMaterial: SwiftUI.Environment<SwiftUI.Material?>
  2. fieldvar _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme>
  3. fieldlet style: SearchUI.SearchUIAppearance.Style
  4. funcbody(content: SwiftUI._ViewModifier_Content<SearchUI.SearchUIAppearance>) -> some SwiftUI.View
  5. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._ViewModifier_Content<SearchUI.SearchUIAppearance>, SwiftUI._CompositingGroupEffect>, SwiftUI._ForegroundStyleModifier<SwiftUI.Color>>, SwiftUI._BlendModeEffect>
struct SearchUIAppearance {
    enum Style {
        case view(prominence: __C.TLKProminence)
        case button(prominence: __C.TLKProminence)
        case fill(prominence: __C.TLKProminence)
        case separator

        func color(for: __C.TLKAppearance) -> SwiftUI.Color
    }
    // synthesized from the backing storage `_colorScheme`; the property's own accessors are stripped
    @SwiftUI.Environment var colorScheme: SwiftUI.ColorScheme {
        get
    }
    // synthesized from the backing storage `_backgroundMaterial`; the property's own accessors are stripped
    @SwiftUI.Environment var backgroundMaterial: SwiftUI.Material? {
        get
    }
    let style: SearchUI.SearchUIAppearance.Style

    func body(content: SwiftUI._ViewModifier_Content<SearchUI.SearchUIAppearance>) -> some SwiftUI.View
}