SwiftstructSwiftUI

struct SwiftUI.PushDestination

Structure

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

Members 6

  1. funcstatic _makeDestinations(content: SwiftUI._GraphValue<SwiftUI.PushDestination<A, B>>, inputs: SwiftUI._ViewInputs, resolved: inout SwiftUI._NavigationDestinationCollection) -> ()
  2. fieldvar transform: (A) -> B+0x0
  3. initinit(presenting: A.Type, destination: (A) -> B) -> SwiftUI.PushDestination<A, B>
  4. initinit(destination: (A) -> B) -> SwiftUI.PushDestination<A, B>
  5. initinit(for: A.Type, destination: (A) -> B) -> SwiftUI.PushDestination<A, B>
  6. typealiastypealias Body = Swift.Never
struct PushDestination<A, B> where A: Swift.Hashable, B: SwiftUI.View {
    struct MakeDestination {
        // synthesized from the backing storage `_thunk`; the property's own accessors are stripped
        @AttributeGraph.Attribute var thunk: (_: A) -> B {
            get
            set
        }
    }
    struct PreferenceTransform {
        // synthesized from the backing storage `_destination`; the property's own accessors are stripped
        @AttributeGraph.WeakAttribute<SwiftUI.NavigationDestinationResolverBase> var destination: SwiftUI.NavigationDestinationResolverBase? {
            get
        }
    }
    var transform: (_: A) -> B

    init(presenting: A.Type, destination: @escaping (_: A) -> B)
    init(destination: @escaping (_: A) -> B)
    init(for: A.Type, destination: @escaping (_: A) -> B)

    static func _makeDestinations(content: SwiftUI._GraphValue<SwiftUI.PushDestination<A, B>>, inputs: SwiftUI._ViewInputs, resolved: inout SwiftUI._NavigationDestinationCollection)
}