SwiftstructSwiftUICore

struct SwiftUI._TestApp.RootView

Structure

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

inherits{}

Members 5

  1. fieldvar __state: SwiftUI.LazyState<SwiftUI._TestApp.RootView.StateType>+0x0
  2. fieldvar _rootFocusScope: SwiftUI.Namespace+0x20
  3. initinit() -> SwiftUI._TestApp.RootView
  4. typealiastypealias Body = SwiftUI.AnyView
  5. varvar body: some SwiftUI.View { get }
struct SwiftUI._TestApp.RootView {
    struct StateType {
        var id: Swift.Int
        var testView: SwiftUI.AnyView

        init()

        func setTestView<A>(_: A) where A: SwiftUI.View
    }
    // synthesized from the backing storage `__state`; the property's own accessors are stripped
    @SwiftUI.LazyState var _state: SwiftUI._TestApp.RootView.StateType {
        get
        set
    }
    // synthesized from the backing storage `_rootFocusScope`; the property's own accessors are stripped
    @SwiftUI.Namespace var rootFocusScope: SwiftUI.Namespace.ID {
        get
    }

    init()

    var body: some SwiftUI.View {
        get
    }
}