7
7
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8
8
//
9
9
10
- public struct CGPoint {
10
+ public struct CGPoint : Sendable {
11
11
public var x : CGFloat
12
12
public var y : CGFloat
13
13
public init ( ) {
@@ -100,7 +100,7 @@ extension CGPoint : Codable {
100
100
}
101
101
}
102
102
103
- public struct CGSize {
103
+ public struct CGSize : Sendable {
104
104
public var width : CGFloat
105
105
public var height : CGFloat
106
106
public init ( ) {
@@ -193,7 +193,7 @@ extension CGSize : Codable {
193
193
}
194
194
}
195
195
196
- public struct CGRect {
196
+ public struct CGRect : Sendable {
197
197
public var origin : CGPoint
198
198
public var size : CGSize
199
199
public init ( ) {
@@ -501,15 +501,15 @@ extension CGRect: NSSpecialValueCoding {
501
501
}
502
502
}
503
503
504
- public enum NSRectEdge : UInt {
504
+ public enum NSRectEdge : UInt , Sendable {
505
505
506
506
case minX
507
507
case minY
508
508
case maxX
509
509
case maxY
510
510
}
511
511
512
- public enum CGRectEdge : UInt32 {
512
+ public enum CGRectEdge : UInt32 , Sendable {
513
513
514
514
case minXEdge
515
515
case minYEdge
@@ -529,7 +529,7 @@ extension NSRectEdge {
529
529
}
530
530
531
531
532
- public struct NSEdgeInsets {
532
+ public struct NSEdgeInsets : Sendable {
533
533
public var top : CGFloat
534
534
public var left : CGFloat
535
535
public var bottom : CGFloat
@@ -604,7 +604,7 @@ extension NSEdgeInsets: NSSpecialValueCoding {
604
604
}
605
605
}
606
606
607
- public struct AlignmentOptions : OptionSet {
607
+ public struct AlignmentOptions : OptionSet , Sendable {
608
608
public var rawValue : UInt64
609
609
public init ( rawValue: UInt64 ) { self . rawValue = rawValue }
610
610
0 commit comments