SwiftstructStorageUI

struct StorageUI.StorageGaugeView

Structure

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

inherits{}

Members 8

  1. fieldvar _gaugeHeight: SwiftUI.ScaledMetric<CoreGraphics.CGFloat>
  2. fieldlet available: Int64+0x20
  3. fieldlet capacity: Int64+0x0
  4. fieldlet categories: [StorageUI.GaugeCategory]+0x8
  5. fieldlet onSelect: ((StorageUI.GaugeCategory) -> ())?+0x10
  6. initinit(capacity: Int64, categories: [StorageUI.GaugeCategory], available: Int64, onSelect: ((StorageUI.GaugeCategory) -> ())?) -> StorageUI.StorageGaugeView
  7. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.GeometryReader<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.HStack<SwiftUI.ForEach<Swift.Array<(offset: Swift.Int, element: StorageUI.GaugeCategory)>, StorageUI.GaugeCategory, Swift.Optional<StorageUI.StorageGaugeItemView>>>, SwiftUI._BackgroundStyleModifier<SwiftUI.Color>>, SwiftUI._AnimationModifier<Swift.Array<StorageUI.GaugeCategory>>>, SwiftUI._OverlayModifier<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.StrokeShapeView<SwiftUI.RoundedRectangle._Inset, SwiftUI.Color, SwiftUI.EmptyView>, SwiftUI._ShadowEffect>, SwiftUI._ClipEffect<SwiftUI.RoundedRectangle>>>>, SwiftUI._ClipEffect<SwiftUI.RoundedRectangle>>>, SwiftUI._FrameLayout>
  8. varvar body: some SwiftUI.View { get }
struct StorageGaugeView {
    let capacity: Swift.Int64
    let categories: [StorageUI.GaugeCategory]
    let onSelect: ((_: StorageUI.GaugeCategory) -> ())?
    let available: Swift.Int64
    // synthesized from the backing storage `_gaugeHeight`; the property's own accessors are stripped
    @SwiftUI.ScaledMetric var gaugeHeight: CoreGraphics.CGFloat {
        get
    }

    init(capacity: Swift.Int64, categories: [StorageUI.GaugeCategory], available: Swift.Int64, onSelect: ((_: StorageUI.GaugeCategory) -> ())?)

    var body: some SwiftUI.View {
        get
    }
}