SwiftstructMusicUI

struct MusicUI.BannerHeaderView.ContentView

Structure

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

inherits{}

Members 9

  1. fieldvar _horizontalSizeClass: SwiftUI.Environment<SwiftUI.UserInterfaceSizeClass?>
  2. fieldvar _legibilityWeight: SwiftUI.Environment<SwiftUI.LegibilityWeight?>
  3. fieldvar _metricsContext: SwiftUI.State<JetEngine.MetricsFieldsContext>
  4. fieldvar _typeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize>
  5. fieldvar _width: SwiftUI.State<CoreGraphics.CGFloat>
  6. fieldlet model: AppleMediaServicesUI.BannerMessageModel
  7. fieldlet resize: () -> ()
  8. fieldvar viewModel: MusicUI.BannerHeaderView.ContentView.ViewModel
  9. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<MusicUI.UnifiedMessages.Banner, SwiftUI._EnvironmentKeyWritingModifier<JetEngine.MetricsFieldsContext>>, SwiftUI._ValueActionModifier2<SwiftUI.DynamicTypeSize>>, SwiftUI._AppearanceActionModifier>, SwiftUI._ValueActionModifier2<Swift.Optional<SwiftUI.LegibilityWeight>>>, SwiftUI._AppearanceActionModifier>, SwiftUI._EnvironmentKeyWritingModifier<CoreGraphics.CGFloat>>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Bool>>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Bool>>, SwiftUI._BackgroundModifier<SwiftUI.GeometryReader<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Color, SwiftUI._ValueActionModifier2<CoreGraphics.CGFloat>>, SwiftUI._AppearanceActionModifier>>>>, SwiftUI._SafeAreaRegionsIgnoringLayout>
struct MusicUI.BannerHeaderView.ContentView {
    @Observation.Observable
    class ViewModel {
        // synthesized from the storage `_isLandscape` that @Observable generated; the property's own accessors are stripped
        var isLandscape: Swift.Bool
        // synthesized from the storage `_isSidebarHidden` that @Observable generated; the property's own accessors are stripped
        var isSidebarHidden: Swift.Bool
    }
    // synthesized from the backing storage `_horizontalSizeClass`; the property's own accessors are stripped
    @SwiftUI.Environment var horizontalSizeClass: SwiftUI.UserInterfaceSizeClass? {
        get
    }
    // synthesized from the backing storage `_typeSize`; the property's own accessors are stripped
    @SwiftUI.Environment var typeSize: SwiftUI.DynamicTypeSize {
        get
    }
    // synthesized from the backing storage `_legibilityWeight`; the property's own accessors are stripped
    @SwiftUI.Environment var legibilityWeight: SwiftUI.LegibilityWeight? {
        get
    }
    let model: AppleMediaServicesUI.BannerMessageModel
    var viewModel: MusicUI.BannerHeaderView.ContentView.ViewModel
    // synthesized from the backing storage `_width`; the property's own accessors are stripped
    @SwiftUI.State var width: CoreGraphics.CGFloat {
        get
        set
    }
    // synthesized from the backing storage `_metricsContext`; the property's own accessors are stripped
    @SwiftUI.State var metricsContext: JetEngine.MetricsFieldsContext {
        get
        set
    }
    let resize: () -> ()
}