SwiftstructWorkflowUI
GalleryContentView
struct WorkflowUI.GalleryContentView
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 4
- field
var __loadingState: SwiftUI.LazyState<WorkflowUI.GalleryContentView<A, B>.LoadingState?> - field
let content: (A) -> B+0x0 - field
let load: ((Result<A, Error>) -> ()) -> ()+0x10 - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI.Group<SwiftUI._ConditionalContent<SwiftUI._ConditionalContent<SwiftUI.ProgressView<SwiftUI.Text, SwiftUI.EmptyView>, B>, WorkflowUI.GalleryErrorView>>, SwiftUI._AppearanceActionModifier>
Header
struct GalleryContentView<A, B> where B: SwiftUI.View { enum LoadingState { case loaded(A) case error(any Swift.Error) case loading } let content: (_: A) -> B let load: (_: @escaping (_: Swift.Result<A, any Swift.Error>) -> ()) -> () // synthesized from the backing storage `__loadingState`; the property's own accessors are stripped @SwiftUI.LazyState var _loadingState: WorkflowUI.GalleryContentView<A, B>.LoadingState? { get set } }