_AppendKeyPath
An implementation detail of key path expressions; do not use this protocol directly.
protocol _AppendKeyPath
Browse conforming typesAn implementation detail of key path expressions; do not use this protocol directly.
protocol _AppendKeyPath
import Swift
func appending<Root, Value, AppendedValue>(path: ReferenceWritableKeyPath<Value, AppendedValue>) -> ReferenceWritableKeyPath<Root, AppendedValue> where Self == KeyPath<Root, Value>
Returns a new key path created by appending the given key path to this one.
func appending<Root, Value, AppendedValue>(path: ReferenceWritableKeyPath<Value, AppendedValue>) -> ReferenceWritableKeyPath<Root, AppendedValue> where Self == WritableKeyPath<Root, Value>
Returns a new key path created by appending the given key path to this one.
func appending<Root, AppendedRoot, AppendedValue>(path: ReferenceWritableKeyPath<AppendedRoot, AppendedValue>) -> ReferenceWritableKeyPath<Root, AppendedValue>? where Self == PartialKeyPath<Root>
Returns a new key path created by appending the given key path to this one.
func appending<Root, Value, AppendedValue>(path: WritableKeyPath<Value, AppendedValue>) -> ReferenceWritableKeyPath<Root, AppendedValue> where Self == ReferenceWritableKeyPath<Root, Value>
Returns a new key path created by appending the given key path to this one.
func appending<Root>(path: AnyKeyPath) -> PartialKeyPath<Root>? where Self == PartialKeyPath<Root>
Returns a new key path created by appending the given key path to this one.
func appending<Root, Value, AppendedValue>(path: WritableKeyPath<Value, AppendedValue>) -> WritableKeyPath<Root, AppendedValue> where Self == WritableKeyPath<Root, Value>
Returns a new key path created by appending the given key path to this one.
func appending<Root, Value, AppendedValue>(path: KeyPath<Value, AppendedValue>) -> KeyPath<Root, AppendedValue> where Self : KeyPath<Root, Value>
Returns a new key path created by appending the given key path to this one.
func appending<Root, AppendedRoot, AppendedValue>(path: KeyPath<AppendedRoot, AppendedValue>) -> KeyPath<Root, AppendedValue>? where Self == PartialKeyPath<Root>
Returns a new key path created by appending the given key path to this one.
class AnyKeyPath
A type-erased key path, from any root type to any resulting value type.
func appending(path: AnyKeyPath) -> AnyKeyPath?
Returns a new key path created by appending the given key path to this one.