File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 60
60
/// [glossary]: http://www.unicode.org/glossary/
61
61
/// [clusters]: http://www.unicode.org/glossary/#extended_grapheme_cluster
62
62
/// [scalars]: http://www.unicode.org/glossary/#unicode_scalar_value
63
+ @_fixed_layout
63
64
public struct Character :
64
65
_ExpressibleByBuiltinExtendedGraphemeClusterLiteral ,
65
66
ExpressibleByExtendedGraphemeClusterLiteral , Hashable {
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ extension _Unicode.UTF8 : UnicodeEncoding {
85
85
_bitCount: 32 )
86
86
}
87
87
88
+ @_fixed_layout
88
89
public struct ForwardParser {
89
90
public typealias _Buffer = _UIntBuffer < UInt32 , UInt8 >
90
91
@inline ( __always)
@@ -93,6 +94,7 @@ extension _Unicode.UTF8 : UnicodeEncoding {
93
94
public var _buffer : _Buffer
94
95
}
95
96
97
+ @_fixed_layout
96
98
public struct ReverseParser {
97
99
public typealias _Buffer = _UIntBuffer < UInt32 , UInt8 >
98
100
@inline ( __always)
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ extension UnicodeParser {
66
66
}
67
67
68
68
extension _Unicode {
69
+ @_fixed_layout
69
70
public struct ParsingIterator <
70
71
CodeUnitIterator : IteratorProtocol ,
71
72
Parser: UnicodeParser
You can’t perform that action at this time.
0 commit comments