AnyKeyPath
A type-erased key path, from any root type to any resulting value type.
class AnyKeyPathA type-erased key path, from any root type to any resulting value type.
class AnyKeyPathimport Swiftprotocol CopyableA type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol EquatableA type that can be compared for value equality.
protocol Escapableprotocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol _AppendKeyPathAn implementation detail of key path expressions; do not use this protocol directly.
static var rootType: any Any.Type { get }The root type for this key path.
static var valueType: any Any.Type { get }The value type for this key path.
var debugDescription: String { get }final var hashValue: Int { get }The hash value.
static func == (a: AnyKeyPath, b: AnyKeyPath) -> Bool final func hash(into hasher: inout Hasher) Hashes the essential components of this value by feeding them into the given hasher.
static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func appending(path: AnyKeyPath) -> AnyKeyPath? Returns a new key path created by appending the given key path to this one.
class PartialKeyPath<Root>A partially type-erased key path, from a concrete root type to any resulting value type.