AnyKeyPath
A type-erased key path, from any root type to any resulting value type.
class AnyKeyPath
A type-erased key path, from any root type to any resulting value type.
class AnyKeyPath
import Swift
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol _AppendKeyPath
An 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.