SwiftstructStorageUI
StorageGaugeView
struct StorageUI.StorageGaugeView
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 8
- field
var _gaugeHeight: SwiftUI.ScaledMetric<CoreGraphics.CGFloat> - field
let available: Int64+0x20 - field
let capacity: Int64+0x0 - field
let categories: [StorageUI.GaugeCategory]+0x8 - field
let onSelect: ((StorageUI.GaugeCategory) -> ())?+0x10 - init
init(capacity: Int64, categories: [StorageUI.GaugeCategory], available: Int64, onSelect: ((StorageUI.GaugeCategory) -> ())?) -> StorageUI.StorageGaugeView - typealias
typealias 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> - var
var body: some SwiftUI.View { get }
Header
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 } }