Enumerationswift 6.0.1Swift
ParseResult
The result of attempting to parse a T
from some input.
@frozen enum ParseResult<T>
The result of attempting to parse a T
from some input.
@frozen enum ParseResult<T>
import Swift
@frozen enum Unicode
A namespace for Unicode utilities.
case emptyInput
The input was entirely consumed.
case error(length: Int)
An encoding error was detected.
case valid(T)
A T
was parsed successfully
@frozen enum ASCII
struct CanonicalCombiningClass
The classification of a scalar used in the Canonical Ordering Algorithm defined by the Unicode Standard.
enum GeneralCategory
The most general classification of a Unicode scalar.
enum NumericType
The numeric type of a scalar.
@frozen struct Scalar
A Unicode scalar value.
@frozen enum UTF16
@frozen enum UTF32
@frozen enum UTF8
typealias Encoding = _UnicodeEncoding
typealias Parser = _UnicodeParser
typealias Version = (major: Int, minor: Int)
A version of the Unicode Standard represented by its major and minor components.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Sendable
protocol Escapable