SwiftprotocolSwiftUICore

protocol SwiftUI.PreferenceKey

Members 11

  1. funcstatic _delay<A where A1: SwiftUI.View>((SwiftUI._PreferenceValue<A>) -> A1) -> some SwiftUI.View
  2. funcmethod descriptor for static _preferenceValuesEqual(A.Value, A.Value) -> Bool
  3. funcstatic _preferenceValuesEqual(A.Value, A.Value) -> Bool
  4. funcstatic SwiftUI.PreferenceKey< where A.Value: Equatable>._preferenceValuesEqual(A.Value, A.Value) -> Bool
  5. funcmethod descriptor for static reduce(value: inout A.Value, nextValue: () -> A.Value) -> ()
  6. funcstatic visitKey<A where A1: SwiftUI.PreferenceKeyVisitor, A1: ~Swift.Copyable>(inout A1) -> ()
  7. varstatic var _includesRemovedValues: Bool { get }
  8. varstatic var _isReadableByHost: Bool { get }
  9. varstatic var defaultValue: A.Value { get }
  10. varstatic var readableName: String { get }
  11. associatedtypeassociatedtype Value
protocol PreferenceKey {
    associatedtype Value

    static var _includesRemovedValues: Swift.Bool {
        get
    }
    static var _isReadableByHost: Swift.Bool {
        get
    }
    static var defaultValue: Self.Value {
        get
    }

    static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
    static func _preferenceValuesEqual(_: Self.Value, _: Self.Value) -> Swift.Bool
}
extension SwiftUI.PreferenceKey where Self.Value: Swift.ExpressibleByNilLiteral {
    static var defaultValue: Self.Value {
        get
    }
}
extension SwiftUI.PreferenceKey {
    static var _includesRemovedValues: Swift.Bool {
        get
    }
    static var _isReadableByHost: Swift.Bool {
        get
    }
    static var readableName: Swift.String {
        get
    }

    static func visitKey<A1>(_: inout A1) where A1: SwiftUI.PreferenceKeyVisitor, A1: ~Swift.Copyable
    static func _preferenceValuesEqual(_: Self.Value, _: Self.Value) -> Swift.Bool
    static func _delay<A1>(_: @escaping (_: SwiftUI._PreferenceValue<Self>) -> A1) -> some SwiftUI.View where A1: SwiftUI.View
    static func _preferenceValuesEqual(_: Self.Value, _: Self.Value) -> Swift.Bool where Self.Value: Swift.Equatable
}