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 @@ -8,6 +8,62 @@ public import Swift
public import _Concurrency
public import _StringProcessing
public import _SwiftConcurrencyShims
public enum GestureOutput<Value> : Swift.Sendable where Value : Swift.Sendable {
case empty(Gestures.GestureOutputEmptyReason, metadata: Gestures.GestureOutputMetadata?)
case value(Value, metadata: Gestures.GestureOutputMetadata?)
case finalValue(Value, metadata: Gestures.GestureOutputMetadata?)
}
extension Gestures.GestureOutput {
#if compiler(>=5.3) && $NonescapableTypes
public var value: Value? {
get
}
#endif
public var isEmpty: Swift.Bool {
get
}
public var isFinal: Swift.Bool {
get
}
}
public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
case noData
case filtered
case timeUpdate
public static func == (a: Gestures.GestureOutputEmptyReason, b: Gestures.GestureOutputEmptyReason) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
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 Expand Up @@ -128,6 +184,71 @@ extension Swift.Array where Element == Gestures.GestureRelation {
get
}
}
public enum GesturePhase<Value> : Swift.Sendable where Value : Swift.Sendable {
case idle
case possible
case blocked(value: Value, blockedBy: Gestures.GestureNodeID)
case active(value: Value)
case ended(value: Value)
case failed(reason: Gestures.GestureFailureReason)
}
extension Gestures.GesturePhase {
public var isIdle: Swift.Bool {
get
}
public var isPossible: Swift.Bool {
get
}
public var isActive: Swift.Bool {
get
}
public var isBlocked: Swift.Bool {
get
}
public var isEnded: Swift.Bool {
get
}
public var isFailed: Swift.Bool {
get
}
public var isTerminal: Swift.Bool {
get
}
public var isRecognized: Swift.Bool {
get
}
#if compiler(>=5.3) && $NonescapableTypes
public var value: Value? {
get
}
#endif
#if compiler(>=5.3) && $NonescapableTypes
public var failureReason: Gestures.GestureFailureReason? {
get
}
#endif
public func mapValue<T>(_ transform: (Value) -> T) -> Gestures.GesturePhase<T> where T : Swift.Sendable
}
extension Gestures.GesturePhase : Swift.CustomStringConvertible {
public var description: Swift.String {
get
}
}
public enum GestureFailureReason : Swift.Sendable {
case excluded(by: Gestures.GestureNodeID)
case failureDependency(on: Gestures.GestureNodeID)
case custom(any Swift.Error)
case disabled
case removedFromContainer
case activationDenied
case aborted
case coordinatorChanged
}
extension Gestures.GestureFailureReason : Swift.CustomStringConvertible {
public var description: Swift.String {
get
}
}
public enum GestureNodeMatcher : Swift.Hashable, Swift.Sendable {
case id(Gestures.GestureNodeID)
case tag(Gestures.GestureTag)
Expand Down Expand Up @@ -234,6 +355,9 @@ public struct GestureUpdateDriverToken : Swift.Hashable, Swift.Sendable {
get
}
}
@_hasMissingDesignatedInitializers final public class UpdateScheduler {
@objc deinit
}
public protocol TimeScheduler : AnyObject, Gestures.TimeSource {
#if compiler(>=5.3) && $NonescapableTypes
func schedule(after duration: Swift.Duration, handler: @escaping () -> Swift.Void, cancelHandler: (() -> Swift.Void)?) -> Gestures.TimeSchedulerToken
Expand Down Expand Up @@ -287,6 +411,10 @@ public struct UptimeTimeSource : Gestures.TimeSourceImpl, Swift.Sendable {
get
}
}
extension Gestures.GestureOutput : Swift.CustomStringConvertible {}
extension Gestures.GestureOutput : Swift.CustomDebugStringConvertible {}
extension Gestures.GestureOutputMetadata : Swift.CustomStringConvertible {}
extension Gestures.GestureOutputMetadata : Swift.CustomDebugStringConvertible {}
extension Gestures.GestureTrait : Swift.CustomStringConvertible {}
extension Gestures.GestureTrait : Swift.CustomDebugStringConvertible {}
extension Gestures.GestureTraitCollection : Swift.CustomStringConvertible {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,62 @@ public import Swift
public import _Concurrency
public import _StringProcessing
public import _SwiftConcurrencyShims
public enum GestureOutput<Value> : Swift.Sendable where Value : Swift.Sendable {
case empty(Gestures.GestureOutputEmptyReason, metadata: Gestures.GestureOutputMetadata?)
case value(Value, metadata: Gestures.GestureOutputMetadata?)
case finalValue(Value, metadata: Gestures.GestureOutputMetadata?)
}
extension Gestures.GestureOutput {
#if compiler(>=5.3) && $NonescapableTypes
public var value: Value? {
get
}
#endif
public var isEmpty: Swift.Bool {
get
}
public var isFinal: Swift.Bool {
get
}
}
public enum GestureOutputEmptyReason : Swift.Hashable, Swift.Sendable {
case noData
case filtered
case timeUpdate
public static func == (a: Gestures.GestureOutputEmptyReason, b: Gestures.GestureOutputEmptyReason) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
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 Expand Up @@ -128,6 +184,71 @@ extension Swift.Array where Element == Gestures.GestureRelation {
get
}
}
public enum GesturePhase<Value> : Swift.Sendable where Value : Swift.Sendable {
case idle
case possible
case blocked(value: Value, blockedBy: Gestures.GestureNodeID)
case active(value: Value)
case ended(value: Value)
case failed(reason: Gestures.GestureFailureReason)
}
extension Gestures.GesturePhase {
public var isIdle: Swift.Bool {
get
}
public var isPossible: Swift.Bool {
get
}
public var isActive: Swift.Bool {
get
}
public var isBlocked: Swift.Bool {
get
}
public var isEnded: Swift.Bool {
get
}
public var isFailed: Swift.Bool {
get
}
public var isTerminal: Swift.Bool {
get
}
public var isRecognized: Swift.Bool {
get
}
#if compiler(>=5.3) && $NonescapableTypes
public var value: Value? {
get
}
#endif
#if compiler(>=5.3) && $NonescapableTypes
public var failureReason: Gestures.GestureFailureReason? {
get
}
#endif
public func mapValue<T>(_ transform: (Value) -> T) -> Gestures.GesturePhase<T> where T : Swift.Sendable
}
extension Gestures.GesturePhase : Swift.CustomStringConvertible {
public var description: Swift.String {
get
}
}
public enum GestureFailureReason : Swift.Sendable {
case excluded(by: Gestures.GestureNodeID)
case failureDependency(on: Gestures.GestureNodeID)
case custom(any Swift.Error)
case disabled
case removedFromContainer
case activationDenied
case aborted
case coordinatorChanged
}
extension Gestures.GestureFailureReason : Swift.CustomStringConvertible {
public var description: Swift.String {
get
}
}
public enum GestureNodeMatcher : Swift.Hashable, Swift.Sendable {
case id(Gestures.GestureNodeID)
case tag(Gestures.GestureTag)
Expand Down Expand Up @@ -234,6 +355,9 @@ public struct GestureUpdateDriverToken : Swift.Hashable, Swift.Sendable {
get
}
}
@_hasMissingDesignatedInitializers final public class UpdateScheduler {
@objc deinit
}
public protocol TimeScheduler : AnyObject, Gestures.TimeSource {
#if compiler(>=5.3) && $NonescapableTypes
func schedule(after duration: Swift.Duration, handler: @escaping () -> Swift.Void, cancelHandler: (() -> Swift.Void)?) -> Gestures.TimeSchedulerToken
Expand Down Expand Up @@ -287,6 +411,10 @@ public struct UptimeTimeSource : Gestures.TimeSourceImpl, Swift.Sendable {
get
}
}
extension Gestures.GestureOutput : Swift.CustomStringConvertible {}
extension Gestures.GestureOutput : Swift.CustomDebugStringConvertible {}
extension Gestures.GestureOutputMetadata : Swift.CustomStringConvertible {}
extension Gestures.GestureOutputMetadata : Swift.CustomDebugStringConvertible {}
extension Gestures.GestureTrait : Swift.CustomStringConvertible {}
extension Gestures.GestureTrait : Swift.CustomDebugStringConvertible {}
extension Gestures.GestureTraitCollection : Swift.CustomStringConvertible {}
Expand Down
Loading
Loading