Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,6 @@ public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
}
public struct GestureOutputMetadata : Swift.Sendable {
}
public enum GestureOutputStatus : Swift.Hashable, Swift.Sendable {
case empty
case value
case finalValue
public static func == (a: Gestures.GestureOutputStatus, b: Gestures.GestureOutputStatus) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct GestureOutputStatusCombiner : Swift.Sendable {
public var combine: @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus
public init(combine: @escaping @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus)
}
public struct GestureOutputArrayCombiner<A> : Swift.Sendable where A : Swift.Sendable {
public let statusCombiner: Gestures.GestureOutputStatusCombiner
public init(statusCombiner: Gestures.GestureOutputStatusCombiner)
}
public struct GestureOutputCombiner<each A, B> : Swift.Sendable where repeat each A : Swift.Sendable, B : Swift.Sendable {
public let combineValues: (@Sendable (repeat each A) throws -> B)?
public let combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?
public let statusCombiner: Gestures.GestureOutputStatusCombiner
#if compiler(>=5.3) && $NonescapableTypes
public init(combineValues: (@Sendable (repeat each A) throws -> B)?, combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?, statusCombiner: Gestures.GestureOutputStatusCombiner)
#endif
}
public struct GestureTrait : Swift.Hashable, Swift.Identifiable, Swift.Sendable {
public var id: Gestures.GestureTraitID
public var attributes: [Gestures.GestureTrait.AttributeKey : Gestures.GestureTrait.AttributeValue]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,6 @@ public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
}
public struct GestureOutputMetadata : Swift.Sendable {
}
public enum GestureOutputStatus : Swift.Hashable, Swift.Sendable {
case empty
case value
case finalValue
public static func == (a: Gestures.GestureOutputStatus, b: Gestures.GestureOutputStatus) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct GestureOutputStatusCombiner : Swift.Sendable {
public var combine: @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus
public init(combine: @escaping @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus)
}
public struct GestureOutputArrayCombiner<A> : Swift.Sendable where A : Swift.Sendable {
public let statusCombiner: Gestures.GestureOutputStatusCombiner
public init(statusCombiner: Gestures.GestureOutputStatusCombiner)
}
public struct GestureOutputCombiner<each A, B> : Swift.Sendable where repeat each A : Swift.Sendable, B : Swift.Sendable {
public let combineValues: (@Sendable (repeat each A) throws -> B)?
public let combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?
public let statusCombiner: Gestures.GestureOutputStatusCombiner
#if compiler(>=5.3) && $NonescapableTypes
public init(combineValues: (@Sendable (repeat each A) throws -> B)?, combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?, statusCombiner: Gestures.GestureOutputStatusCombiner)
#endif
}
public struct GestureTrait : Swift.Hashable, Swift.Identifiable, Swift.Sendable {
public var id: Gestures.GestureTraitID
public var attributes: [Gestures.GestureTrait.AttributeKey : Gestures.GestureTrait.AttributeValue]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,6 @@ public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
}
public struct GestureOutputMetadata : Swift.Sendable {
}
public enum GestureOutputStatus : Swift.Hashable, Swift.Sendable {
case empty
case value
case finalValue
public static func == (a: Gestures.GestureOutputStatus, b: Gestures.GestureOutputStatus) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct GestureOutputStatusCombiner : Swift.Sendable {
public var combine: @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus
public init(combine: @escaping @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus)
}
public struct GestureOutputArrayCombiner<A> : Swift.Sendable where A : Swift.Sendable {
public let statusCombiner: Gestures.GestureOutputStatusCombiner
public init(statusCombiner: Gestures.GestureOutputStatusCombiner)
}
public struct GestureOutputCombiner<each A, B> : Swift.Sendable where repeat each A : Swift.Sendable, B : Swift.Sendable {
public let combineValues: (@Sendable (repeat each A) throws -> B)?
public let combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?
public let statusCombiner: Gestures.GestureOutputStatusCombiner
#if compiler(>=5.3) && $NonescapableTypes
public init(combineValues: (@Sendable (repeat each A) throws -> B)?, combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?, statusCombiner: Gestures.GestureOutputStatusCombiner)
#endif
}
public struct GestureTrait : Swift.Hashable, Swift.Identifiable, Swift.Sendable {
public var id: Gestures.GestureTraitID
public var attributes: [Gestures.GestureTrait.AttributeKey : Gestures.GestureTrait.AttributeValue]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,6 @@ public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
}
public struct GestureOutputMetadata : Swift.Sendable {
}
public enum GestureOutputStatus : Swift.Hashable, Swift.Sendable {
case empty
case value
case finalValue
public static func == (a: Gestures.GestureOutputStatus, b: Gestures.GestureOutputStatus) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct GestureOutputStatusCombiner : Swift.Sendable {
public var combine: @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus
public init(combine: @escaping @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus)
}
public struct GestureOutputArrayCombiner<A> : Swift.Sendable where A : Swift.Sendable {
public let statusCombiner: Gestures.GestureOutputStatusCombiner
public init(statusCombiner: Gestures.GestureOutputStatusCombiner)
}
public struct GestureOutputCombiner<each A, B> : Swift.Sendable where repeat each A : Swift.Sendable, B : Swift.Sendable {
public let combineValues: (@Sendable (repeat each A) throws -> B)?
public let combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?
public let statusCombiner: Gestures.GestureOutputStatusCombiner
#if compiler(>=5.3) && $NonescapableTypes
public init(combineValues: (@Sendable (repeat each A) throws -> B)?, combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?, statusCombiner: Gestures.GestureOutputStatusCombiner)
#endif
}
public struct GestureTrait : Swift.Hashable, Swift.Identifiable, Swift.Sendable {
public var id: Gestures.GestureTraitID
public var attributes: [Gestures.GestureTrait.AttributeKey : Gestures.GestureTrait.AttributeValue]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,6 @@ public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
}
public struct GestureOutputMetadata : Swift.Sendable {
}
public enum GestureOutputStatus : Swift.Hashable, Swift.Sendable {
case empty
case value
case finalValue
public static func == (a: Gestures.GestureOutputStatus, b: Gestures.GestureOutputStatus) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct GestureOutputStatusCombiner : Swift.Sendable {
public var combine: @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus
public init(combine: @escaping @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus)
}
public struct GestureOutputArrayCombiner<A> : Swift.Sendable where A : Swift.Sendable {
public let statusCombiner: Gestures.GestureOutputStatusCombiner
public init(statusCombiner: Gestures.GestureOutputStatusCombiner)
}
public struct GestureOutputCombiner<each A, B> : Swift.Sendable where repeat each A : Swift.Sendable, B : Swift.Sendable {
public let combineValues: (@Sendable (repeat each A) throws -> B)?
public let combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?
public let statusCombiner: Gestures.GestureOutputStatusCombiner
#if compiler(>=5.3) && $NonescapableTypes
public init(combineValues: (@Sendable (repeat each A) throws -> B)?, combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?, statusCombiner: Gestures.GestureOutputStatusCombiner)
#endif
}
public struct GestureTrait : Swift.Hashable, Swift.Identifiable, Swift.Sendable {
public var id: Gestures.GestureTraitID
public var attributes: [Gestures.GestureTrait.AttributeKey : Gestures.GestureTrait.AttributeValue]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,6 @@ public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
}
public struct GestureOutputMetadata : Swift.Sendable {
}
public enum GestureOutputStatus : Swift.Hashable, Swift.Sendable {
case empty
case value
case finalValue
public static func == (a: Gestures.GestureOutputStatus, b: Gestures.GestureOutputStatus) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct GestureOutputStatusCombiner : Swift.Sendable {
public var combine: @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus
public init(combine: @escaping @Sendable ([Gestures.GestureOutputStatus]) throws -> Gestures.GestureOutputStatus)
}
public struct GestureOutputArrayCombiner<A> : Swift.Sendable where A : Swift.Sendable {
public let statusCombiner: Gestures.GestureOutputStatusCombiner
public init(statusCombiner: Gestures.GestureOutputStatusCombiner)
}
public struct GestureOutputCombiner<each A, B> : Swift.Sendable where repeat each A : Swift.Sendable, B : Swift.Sendable {
public let combineValues: (@Sendable (repeat each A) throws -> B)?
public let combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?
public let statusCombiner: Gestures.GestureOutputStatusCombiner
#if compiler(>=5.3) && $NonescapableTypes
public init(combineValues: (@Sendable (repeat each A) throws -> B)?, combineOptionals: (@Sendable (repeat (each A)?) throws -> B)?, statusCombiner: Gestures.GestureOutputStatusCombiner)
#endif
}
public struct GestureTrait : Swift.Hashable, Swift.Identifiable, Swift.Sendable {
public var id: Gestures.GestureTraitID
public var attributes: [Gestures.GestureTrait.AttributeKey : Gestures.GestureTrait.AttributeValue]
Expand Down
17 changes: 1 addition & 16 deletions GF/DeviceSwiftShims/Core/GestureOutput.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,7 @@ public struct GestureOutputMetadata: Sendable {

// MARK: - GestureOutputMetadata + NestedCustomStringConvertible

extension GestureOutputMetadata: NestedCustomStringConvertible {
package func populateNestedDescription(_ nested: inout NestedDescription) {
nested.options.formUnion([.hideTypeName, .compact])
nested.customPrefix = ""
nested.customSuffix = ""
if !updatesToSchedule.isEmpty {
nested.append("\(updatesToSchedule)", label: "updatesToSchedule")
}
if !updatesToCancel.isEmpty {
nested.append("\(updatesToCancel)", label: "updatesToCancel")
}
if let traceAnnotation {
nested.append(traceAnnotation.value, label: "traceAnnotation")
}
}
}
extension GestureOutputMetadata: NestedCustomStringConvertible {}

// MARK: - UpdateTraceAnnotation

Expand Down
Loading
Loading