SwiftstructSwiftUI
PushDestination
struct SwiftUI.PushDestination
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.NavigationDestination
Members 6
- func
static _makeDestinations(content: SwiftUI._GraphValue<SwiftUI.PushDestination<A, B>>, inputs: SwiftUI._ViewInputs, resolved: inout SwiftUI._NavigationDestinationCollection) -> () - field
var transform: (A) -> B+0x0 - init
init(presenting: A.Type, destination: (A) -> B) -> SwiftUI.PushDestination<A, B> - init
init(destination: (A) -> B) -> SwiftUI.PushDestination<A, B> - init
init(for: A.Type, destination: (A) -> B) -> SwiftUI.PushDestination<A, B> - typealias
typealias Body = Swift.Never
Header
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) }